Sdílet prostřednictvím


CallLog.Calls.BlockReasonRestrictedNumber Field

Definition

Value for CallLog.Calls#BLOCK_REASON, set when CallLog.Calls#TYPE is CallLog.Calls#BLOCKED_TYPE to indicate that a call was blocked because the user has chosen to block all calls from restricted numbers.

[Android.Runtime.Register("BLOCK_REASON_RESTRICTED_NUMBER", ApiSince=29)]
public const int BlockReasonRestrictedNumber = 5;
[<Android.Runtime.Register("BLOCK_REASON_RESTRICTED_NUMBER", ApiSince=29)>]
val mutable BlockReasonRestrictedNumber : int

Field Value

Value = 5
Attributes

Remarks

Value for CallLog.Calls#BLOCK_REASON, set when CallLog.Calls#TYPE is CallLog.Calls#BLOCKED_TYPE to indicate that a call was blocked because the user has chosen to block all calls from restricted numbers.

Java documentation for android.provider.CallLog.Calls.BLOCK_REASON_RESTRICTED_NUMBER.

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