StrictMode.VmPolicy.Builder.PermitNonSdkApiUsage 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.
Permits reflective usage of APIs that are not part of the public Android SDK. Note that this only affects StrictMode , the underlying runtime may continue to restrict or warn on access to methods that are not part of the public SDK.
[Android.Runtime.Register("permitNonSdkApiUsage", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=28)]
public Android.OS.StrictMode.VmPolicy.Builder PermitNonSdkApiUsage();
[<Android.Runtime.Register("permitNonSdkApiUsage", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=28)>]
member this.PermitNonSdkApiUsage : unit -> Android.OS.StrictMode.VmPolicy.Builder
Returns
The returned value is non-null.
- Attributes
Remarks
Permits reflective usage of APIs that are not part of the public Android SDK. Note that this only affects StrictMode , the underlying runtime may continue to restrict or warn on access to methods that are not part of the public SDK.
Java documentation for android.os.StrictMode.VmPolicy.Builder.permitNonSdkApiUsage().
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.