TelecomManager.IsOutgoingCallPermitted(PhoneAccountHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true if telecom will permit an outgoing call to be placed, false
otherwise.
- Attributes
Remarks
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.