Language

RouteListingPreference.MissingPermissionsComponentName Property

Definition

Returns a ComponentName for navigating to the application to fix missing permissions.

public Android.Content.ComponentName? MissingPermissionsComponentName { [Android.Runtime.Register("getMissingPermissionsComponentName", "()Landroid/content/ComponentName;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMissingPermissionsComponentName", "()Landroid/content/ComponentName;", "", ApiSince=37)>]
member this.MissingPermissionsComponentName : Android.Content.ComponentName

Property Value

Attributes

Remarks

Returns a ComponentName for navigating to the application to fix missing permissions.

The system navigates to the application when a route discovery preference set by the app cannot be satisfied due to missing permissions, and the user has triggered a UI flow to fix the issue.

The system launches an intent to the returned ComponentName, using action ACTION_RESOLVE_MISSING_PERMISSIONS, with the extra EXTRA_MISSING_PERMISSIONS.

Android reference for android.media.RouteListingPreference.getMissingPermissionsComponentName.

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