TelecomManager.IsOutgoingCallPermitted(PhoneAccountHandle) Method

Definition

Determines whether Telecom would permit an outgoing call to be placed via the #placeCall(Uri, Bundle) API for the specified PhoneAccountHandle.

[Android.Runtime.Register("isOutgoingCallPermitted", "(Landroid/telecom/PhoneAccountHandle;)Z", "GetIsOutgoingCallPermitted_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)]
public virtual bool IsOutgoingCallPermitted (Android.Telecom.PhoneAccountHandle? phoneAccountHandle);
[<Android.Runtime.Register("isOutgoingCallPermitted", "(Landroid/telecom/PhoneAccountHandle;)Z", "GetIsOutgoingCallPermitted_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=26)>]
abstract member IsOutgoingCallPermitted : Android.Telecom.PhoneAccountHandle -> bool
override this.IsOutgoingCallPermitted : Android.Telecom.PhoneAccountHandle -> bool

Parameters

phoneAccountHandle
PhoneAccountHandle

The PhoneAccountHandle the call will be added for.

Returns

Boolean

true if telecom will permit an outgoing call to be placed, false otherwise.

Attributes

Remarks

Java documentation for android.telecom.TelecomManager.isOutgoingCallPermitted(android.telecom.PhoneAccountHandle).

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