Language

MediaProjectionConfig.RequesterHintFormatted Property

Definition

A hint set by the requesting app indicating who the requester of this MediaProjection session is.

public Java.Lang.ICharSequence? RequesterHintFormatted { [Android.Runtime.Register("getRequesterHint", "()Ljava/lang/CharSequence;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getRequesterHint", "()Ljava/lang/CharSequence;", "", ApiSince=37)>]
member this.RequesterHintFormatted : Java.Lang.ICharSequence

Property Value

the hint to be displayed if set, null otherwise.

Attributes

Remarks

A hint set by the requesting app indicating who the requester of this MediaProjection session is.

The UI component prompting the user for the permission to start the session can use this hint to provide more information about the origin of the request (e.g. a browser tab title, a meeting id if sharing to a video conferencing app, a player name if sharing the screen within a game).

Android reference for android.media.projection.MediaProjectionConfig.getRequesterHint.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to