Language

MediaProjectionConfig.IsOwnAppContentProvided Property

Definition

Returns true if the application requesting the media projection session is offering its own content to be picked in the UI picker.

public bool IsOwnAppContentProvided { [Android.Runtime.Register("isOwnAppContentProvided", "()Z", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("isOwnAppContentProvided", "()Z", "", ApiSince=37)>]
member this.IsOwnAppContentProvided : bool

Property Value

Returns true if the application requesting the media projection session is offering its own content to be picked in the UI picker.

Attributes

Remarks

Returns true if the application requesting the media projection session is offering its own content to be picked in the UI picker.

The requester must also have enabled PROJECTION_SOURCE_APP_CONTENT for the content to be shown in the picker.

If set, the requesting app's content will replace any other app content that might have been enabled.

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

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