MediaProjectionConfig.CreateConfigForUserChoice 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.
Returns an instance which allows the user to decide which region is captured.
[Android.Runtime.Register("createConfigForUserChoice", "()Landroid/media/projection/MediaProjectionConfig;", "", ApiSince=34)]
public static Android.Media.Projection.MediaProjectionConfig CreateConfigForUserChoice ();
[<Android.Runtime.Register("createConfigForUserChoice", "()Landroid/media/projection/MediaProjectionConfig;", "", ApiSince=34)>]
static member CreateConfigForUserChoice : unit -> Android.Media.Projection.MediaProjectionConfig
Returns
- Attributes
Remarks
Returns an instance which allows the user to decide which region is captured. The consent dialog presents the user with all possible options. If the user selects display capture, then only the android.view.Display#DEFAULT_DISPLAY
is supported.
When passed in to MediaProjectionManager#createScreenCaptureIntent(MediaProjectionConfig)
, the consent dialog shown to the user will be the same as if just MediaProjectionManager#createScreenCaptureIntent()
was invoked.
Java documentation for android.media.projection.MediaProjectionConfig.createConfigForUserChoice()
.
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.