SecurityStateManager.GlobalSecurityState 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.
Returns the current global security state.
public virtual Android.OS.Bundle GlobalSecurityState { [Android.Runtime.Register("getGlobalSecurityState", "()Landroid/os/Bundle;", "GetGetGlobalSecurityStateHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getGlobalSecurityState", "()Landroid/os/Bundle;", "GetGetGlobalSecurityStateHandler", ApiSince=35)>]
member this.GlobalSecurityState : Android.OS.Bundle
Property Value
A Bundle
that contains the global security state information as
string-to-string key-value pairs.
- Attributes
Remarks
Returns the current global security state. Each key-value pair is a mapping of a component of the global security state to its current version/SPL (security patch level). For example, the KEY_SYSTEM_SPL
key will map to the SPL of the system as defined in android.os.Build.VERSION
. The bundle will also include mappings from WebView packages and packages listed under config config_securityStatePackages
to their respective versions as defined in android.content.pm.PackageInfo#versionName
.
Java documentation for android.os.SecurityStateManager.getGlobalSecurityState()
.
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.