PhoneAccount.HasCapabilities(ConnectionCapability) Method

Definition

Determines if this PhoneAccount has a capabilities specified by the passed in bit mask.

[Android.Runtime.Register("hasCapabilities", "(I)Z", "", ApiSince=23)]
public bool HasCapabilities (Android.Telecom.ConnectionCapability capability);
[<Android.Runtime.Register("hasCapabilities", "(I)Z", "", ApiSince=23)>]
member this.HasCapabilities : Android.Telecom.ConnectionCapability -> bool

Parameters

capability
ConnectionCapability

The capabilities to check.

Returns

true if the phone account has the capability.

Attributes

Remarks

Determines if this PhoneAccount has a capabilities specified by the passed in bit mask.

Java documentation for android.telecom.PhoneAccount.hasCapabilities(int).

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