語言

Context.RestrictionsService 欄位

定義

使用 with #getSystemService(String) 來取得 a android.content.RestrictionsManager ,用於擷取應用程式限制並請求受限制操作的權限。

[Android.Runtime.Register("RESTRICTIONS_SERVICE")]
public const string RestrictionsService;
[<Android.Runtime.Register("RESTRICTIONS_SERVICE")>]
val mutable RestrictionsService : string

欄位值

屬性

備註

使用 with #getSystemService(String) 來取得 a android.content.RestrictionsManager ,用於擷取應用程式限制並請求受限制操作的權限。

Java 文件 android.content.Context.RESTRICTIONS_SERVICE。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱