PackageManager.BackgroundPermissionOptionLabelFormatted Property
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.
Gets the localized label that corresponds to the option in settings for granting background access.
public virtual Java.Lang.ICharSequence BackgroundPermissionOptionLabelFormatted { [Android.Runtime.Register("getBackgroundPermissionOptionLabel", "()Ljava/lang/CharSequence;", "GetGetBackgroundPermissionOptionLabelHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getBackgroundPermissionOptionLabel", "()Ljava/lang/CharSequence;", "GetGetBackgroundPermissionOptionLabelHandler", ApiSince=30)>]
member this.BackgroundPermissionOptionLabelFormatted : Java.Lang.ICharSequence
Property Value
the localized label that corresponds to the settings option for granting background access
- Attributes
Remarks
Gets the localized label that corresponds to the option in settings for granting background access.
The intended use is for apps to reference this label in its instruction for users to grant a background permission.
Java documentation for android.content.pm.PackageManager.getBackgroundPermissionOptionLabel()
.
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.