CallEndpoint Constructors
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.
Overloads
| Name | Description |
|---|---|
| CallEndpoint(ICharSequence, CallEndpointType, ParcelUuid) |
Constructor for a |
| CallEndpoint(String, CallEndpointType, ParcelUuid) |
Constructor for a CallEndpoint object. |
CallEndpoint(ICharSequence, CallEndpointType, ParcelUuid)
Constructor for a CallEndpoint object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;ILandroid/os/ParcelUuid;)V", "", ApiSince=34)]
public CallEndpoint(Java.Lang.ICharSequence name, Android.Telecom.CallEndpointType type, Android.OS.ParcelUuid id);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;ILandroid/os/ParcelUuid;)V", "", ApiSince=34)>]
new Android.Telecom.CallEndpoint : Java.Lang.ICharSequence * Android.Telecom.CallEndpointType * Android.OS.ParcelUuid -> Android.Telecom.CallEndpoint
Parameters
- name
- ICharSequence
Human-readable name associated with the endpoint
- type
- CallEndpointType
The type of endpoint through which call media being routed
Allowed values:
#TYPE_EARPIECE#TYPE_BLUETOOTH#TYPE_WIRED_HEADSET#TYPE_SPEAKER#TYPE_STREAMING#TYPE_UNKNOWN
- id
- ParcelUuid
A unique identifier for this endpoint on the device
- Attributes
Remarks
Constructor for a CallEndpoint object.
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
CallEndpoint(String, CallEndpointType, ParcelUuid)
Constructor for a CallEndpoint object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;ILandroid/os/ParcelUuid;)V", "", ApiSince=34)]
public CallEndpoint(string name, Android.Telecom.CallEndpointType type, Android.OS.ParcelUuid id);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;ILandroid/os/ParcelUuid;)V", "", ApiSince=34)>]
new Android.Telecom.CallEndpoint : string * Android.Telecom.CallEndpointType * Android.OS.ParcelUuid -> Android.Telecom.CallEndpoint
Parameters
- name
- String
Human-readable name associated with the endpoint. This value cannot be null.
- type
- CallEndpointType
The type of endpoint through which call media being routed Allowed values: TYPE_EARPIECE TYPE_BLUETOOTH TYPE_WIRED_HEADSET TYPE_SPEAKER TYPE_STREAMING TYPE_UNKNOWN Value is one of the following: TYPE_UNKNOWN; TYPE_EARPIECE; TYPE_BLUETOOTH; TYPE_WIRED_HEADSET; TYPE_SPEAKER; TYPE_STREAMING
- id
- ParcelUuid
A unique identifier for this endpoint on the device. This value cannot be null.
- Attributes
Remarks
Constructor for a CallEndpoint object.
Android reference for android.telecom.CallEndpoint.CallEndpoint.
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.