共用方式為


BlockedNumberContract.CanCurrentUserBlockNumbers(Context) 方法

定義

檢查目前使用者是否支持封鎖號碼。

[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 屬性授權中所述的詞彙使用。

適用於