MediaProjectionConfig.Builder.SetInitiallySelectedSource(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.