Udostępnij za pośrednictwem


Call.Details.Can Method

Definition

Overloads

Can(ConnectionCapability, ConnectionCapability)

Whether the supplied capabilities supports the specified capability.

Can(ConnectionCapability)

Whether the capabilities of this Details supports the specified capability.

Can(ConnectionCapability, ConnectionCapability)

Whether the supplied capabilities supports the specified capability.

[Android.Runtime.Register("can", "(II)Z", "", ApiSince=23)]
public static bool Can (Android.Telecom.ConnectionCapability capabilities, Android.Telecom.ConnectionCapability capability);
[<Android.Runtime.Register("can", "(II)Z", "", ApiSince=23)>]
static member Can : Android.Telecom.ConnectionCapability * Android.Telecom.ConnectionCapability -> bool

Parameters

capabilities
ConnectionCapability

A bit field of capabilities.

capability
ConnectionCapability

The capability to check capabilities for.

Returns

Whether the specified capability is supported.

Attributes

Remarks

Whether the supplied capabilities supports the specified capability.

Java documentation for android.telecom.Call.Details.can(int, 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

Can(ConnectionCapability)

Whether the capabilities of this Details supports the specified capability.

[Android.Runtime.Register("can", "(I)Z", "GetCan_IHandler", ApiSince=23)]
public virtual bool Can (Android.Telecom.ConnectionCapability capability);
[<Android.Runtime.Register("can", "(I)Z", "GetCan_IHandler", ApiSince=23)>]
abstract member Can : Android.Telecom.ConnectionCapability -> bool
override this.Can : Android.Telecom.ConnectionCapability -> bool

Parameters

capability
ConnectionCapability

The capability to check capabilities for.

Returns

Whether the specified capability is supported.

Attributes

Remarks

Whether the capabilities of this Details supports the specified capability.

Java documentation for android.telecom.Call.Details.can(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