Share via


MtpObjectInfo.ProtectionStatus Property

Definition

Returns the protection status for the MTP object Possible values are:

        <ul>
        &lt;li&gt; <code data-dev-comment-type="c">android.mtp.MtpConstants#PROTECTION_STATUS_NONE</code>&lt;li&gt; <code data-dev-comment-type="c">android.mtp.MtpConstants#PROTECTION_STATUS_READ_ONLY</code>&lt;li&gt; <code data-dev-comment-type="c">android.mtp.MtpConstants#PROTECTION_STATUS_NON_TRANSFERABLE_DATA</code>&lt;/ul&gt;
public Android.Mtp.ProtectionStatus ProtectionStatus { [Android.Runtime.Register("getProtectionStatus", "()I", "")] get; }
[<get: Android.Runtime.Register("getProtectionStatus", "()I", "")>]
member this.ProtectionStatus : Android.Mtp.ProtectionStatus

Property Value

the protection status

Attributes

Remarks

Returns the protection status for the MTP object Possible values are:

<ul> <li> android.mtp.MtpConstants#PROTECTION_STATUS_NONE<li> android.mtp.MtpConstants#PROTECTION_STATUS_READ_ONLY<li> android.mtp.MtpConstants#PROTECTION_STATUS_NON_TRANSFERABLE_DATA</ul>

Java documentation for android.mtp.MtpObjectInfo.getProtectionStatus().

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.

Applies to