Language

MediaProjectionConfig.Builder.SetInitiallySelectedSource(Int32) Method

Definition

Indicates which projection source the UI component should display to the user first.

[Android.Runtime.Register("setInitiallySelectedSource", "(I)Landroid/media/projection/MediaProjectionConfig$Builder;", "", ApiSince=37)]
public Android.Media.Projection.MediaProjectionConfig.Builder SetInitiallySelectedSource(int projectionSource);
[<Android.Runtime.Register("setInitiallySelectedSource", "(I)Landroid/media/projection/MediaProjectionConfig$Builder;", "", ApiSince=37)>]
member this.SetInitiallySelectedSource : int -> Android.Media.Projection.MediaProjectionConfig.Builder

Parameters

projectionSource
Int32

Value is either 0 or a combination of the following: MediaProjectionConfig.PROJECTION_SOURCE_DISPLAY; MediaProjectionConfig.PROJECTION_SOURCE_APP; MediaProjectionConfig.PROJECTION_SOURCE_APP_CONTENT

Returns

instance of this Builder. This value cannot be null.

Attributes

Remarks

Indicates which projection source the UI component should display to the user first. Calling this method without enabling the respective choice will have no effect.

Android reference for android.media.projection.MediaProjectionConfig.Builder.setInitiallySelectedSource.

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