BlockedNumberContract.CanCurrentUserBlockNumbers(Context) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查目前使用者是否支持封鎖號碼。
[Android.Runtime.Register("canCurrentUserBlockNumbers", "(Landroid/content/Context;)Z", "", ApiSince=24)]
public static bool CanCurrentUserBlockNumbers (Android.Content.Context? context);
[<Android.Runtime.Register("canCurrentUserBlockNumbers", "(Landroid/content/Context;)Z", "", ApiSince=24)>]
static member CanCurrentUserBlockNumbers : Android.Content.Context -> bool
參數
- context
- Context
傳回
true
如果目前的使用者可以封鎖數位,則為 。
- 屬性
備註
檢查目前使用者是否支持封鎖號碼。
一般而言,一次只支援一個使用者的封鎖號碼。
的 android.provider.BlockedNumberContract.canCurrentUserBlockNumbers(android.content.Context)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。