StrictMode.VmPolicy.Builder.DetectContentUriWithoutPermission 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.
Detects when the calling application sends a content:// Uri to another app without setting Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION . Forgetting to include one or more of these flags when sending an intent is typically an app bug.
[Android.Runtime.Register("detectContentUriWithoutPermission", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=26)]
public Android.OS.StrictMode.VmPolicy.Builder DetectContentUriWithoutPermission();
[<Android.Runtime.Register("detectContentUriWithoutPermission", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=26)>]
member this.DetectContentUriWithoutPermission : unit -> Android.OS.StrictMode.VmPolicy.Builder
Returns
The returned value is non-null.
- Attributes
Remarks
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.
Java documentation for android.os.StrictMode.VmPolicy.Builder.detectContentUriWithoutPermission().