PhoneAccount.SimultaneousCallingRestriction Property
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.
If a restriction is set (see #hasSimultaneousCallingRestriction()
), this method
returns the Set of PhoneAccountHandle
s that are allowed to support calls
simultaneously with this PhoneAccount
.
public System.Collections.Generic.ICollection<Android.Telecom.PhoneAccountHandle> SimultaneousCallingRestriction { [Android.Runtime.Register("getSimultaneousCallingRestriction", "()Ljava/util/Set;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getSimultaneousCallingRestriction", "()Ljava/util/Set;", "", ApiSince=35)>]
member this.SimultaneousCallingRestriction : System.Collections.Generic.ICollection<Android.Telecom.PhoneAccountHandle>
Property Value
the Set of PhoneAccountHandle
s that this PhoneAccount
supports
simultaneous calls with.
- Attributes
Remarks
If a restriction is set (see #hasSimultaneousCallingRestriction()
), this method returns the Set of PhoneAccountHandle
s that are allowed to support calls simultaneously with this PhoneAccount
.
If this PhoneAccount
is busy with one or more ongoing calls, a restriction is set on this PhoneAccount (see #hasSimultaneousCallingRestriction()
to check), and a new incoming or outgoing call is received or placed on a PhoneAccount that is not in this Set, Telecom will reject or cancel the pending call in favor of keeping the ongoing call alive.
Note: Simultaneous calling restrictions can only be placed on PhoneAccount
s that were registered by the same application. Simultaneous calling across applications is always possible as long as the Connection
supports hold.
Java documentation for android.telecom.PhoneAccount.getSimultaneousCallingRestriction()
.
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.