共用方式為


RestrictionsManager.ApplicationRestrictions 屬性

定義

傳回適用於此應用程式的任何可用應用程式特定限制集。

public virtual Android.OS.Bundle? ApplicationRestrictions { [Android.Runtime.Register("getApplicationRestrictions", "()Landroid/os/Bundle;", "GetGetApplicationRestrictionsHandler")] get; }
[<get: Android.Runtime.Register("getApplicationRestrictions", "()Landroid/os/Bundle;", "GetGetApplicationRestrictionsHandler")>]
member this.ApplicationRestrictions : Android.OS.Bundle

屬性值

應用程式限制為套件組合。 如果沒有限制,則傳回 null。

        &lt;p&gt;Starting from Android version <code data-dev-comment-type="c">android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE</code>,
        it is possible for there to be multiple managing apps on the device with the ability to set
        restrictions, e.g. a Device Policy Controller (DPC) and a Supervision admin.
        This API will only return the restrictions set by the DPCs. To retrieve restrictions
        set by all managing apps, use
        <code data-dev-comment-type="c">android.content.RestrictionsManager#getApplicationRestrictionsPerAdmin</code> instead.
屬性

備註

傳回適用於此應用程式的任何可用應用程式特定限制集。

android.content.RestrictionsManager.getApplicationRestrictions()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於