ContentProvider.WritePermission 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.
Caution
Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.
Return the name of the permission required for read/write access to this content provider. -or- Change the permission required to read and write data in the content provider.
public string? WritePermission { [Android.Runtime.Register("getWritePermission", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setWritePermission", "(Ljava/lang/String;)V", "")] [System.Obsolete("Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.")] set; }
[<get: Android.Runtime.Register("getWritePermission", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setWritePermission", "(Ljava/lang/String;)V", "")>]
[<set: System.Obsolete("Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.")>]
member this.WritePermission : string with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Return the name of the permission required for read/write access to this content provider. This method can be called from multiple threads, as described in Processes and Threads.
Java documentation for android.content.ContentProvider.getWritePermission()
.
Property setter documentation:
Change the permission required to read and write data in the content provider. This is normally set for you from its manifest information when the provider is first created.
Java documentation for android.content.ContentProvider.setWritePermission(java.lang.String)
.
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.