PhoneAccount.Builder.SetSimultaneousCallingRestriction 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.
Restricts the ability of this PhoneAccount to ONLY support simultaneous calling with the other PhoneAccountHandles in this Set.
[Android.Runtime.Register("setSimultaneousCallingRestriction", "(Ljava/util/Set;)Landroid/telecom/PhoneAccount$Builder;", "GetSetSimultaneousCallingRestriction_Ljava_util_Set_Handler", ApiSince=35)]
public virtual Android.Telecom.PhoneAccount.Builder SetSimultaneousCallingRestriction(System.Collections.Generic.ICollection<Android.Telecom.PhoneAccountHandle> handles);
[<Android.Runtime.Register("setSimultaneousCallingRestriction", "(Ljava/util/Set;)Landroid/telecom/PhoneAccount$Builder;", "GetSetSimultaneousCallingRestriction_Ljava_util_Set_Handler", ApiSince=35)>]
abstract member SetSimultaneousCallingRestriction : System.Collections.Generic.ICollection<Android.Telecom.PhoneAccountHandle> -> Android.Telecom.PhoneAccount.Builder
override this.SetSimultaneousCallingRestriction : System.Collections.Generic.ICollection<Android.Telecom.PhoneAccountHandle> -> Android.Telecom.PhoneAccount.Builder
Parameters
- handles
- ICollection<PhoneAccountHandle>
The other PhoneAccountHandles that support calling simultaneously with this one. Use clearSimultaneousCallingRestriction() to remove the restriction and allow simultaneous calling to be supported across all PhoneAccounts registered by this package. This value cannot be null.
Returns
The Builder used to set up the new PhoneAccount. This value cannot be null.
- Attributes
Remarks
Restricts the ability of this PhoneAccount to ONLY support simultaneous calling with the other PhoneAccountHandles in this Set.
Android reference for android.telecom.PhoneAccount.Builder.setSimultaneousCallingRestriction.
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.