CallAttributes.Builder 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 |
|---|---|
| CallAttributes.Builder(PhoneAccountHandle, CallAttributesDirection, ICharSequence, Uri) |
Constructor for the CallAttributes. |
| CallAttributes.Builder(PhoneAccountHandle, CallAttributesDirection, String, Uri) |
Constructor for the CallAttributes.Builder class |
CallAttributes.Builder(PhoneAccountHandle, CallAttributesDirection, ICharSequence, Uri)
Constructor for the CallAttributes.
[Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;ILjava/lang/CharSequence;Landroid/net/Uri;)V", "", ApiSince=34)]
public Builder(Android.Telecom.PhoneAccountHandle phoneAccountHandle, Android.Telecom.CallAttributesDirection callDirection, Java.Lang.ICharSequence displayName, Android.Net.Uri address);
[<Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;ILjava/lang/CharSequence;Landroid/net/Uri;)V", "", ApiSince=34)>]
new Android.Telecom.CallAttributes.Builder : Android.Telecom.PhoneAccountHandle * Android.Telecom.CallAttributesDirection * Java.Lang.ICharSequence * Android.Net.Uri -> Android.Telecom.CallAttributes.Builder
Parameters
- phoneAccountHandle
- PhoneAccountHandle
that belongs to package registered with Telecom
- callDirection
- CallAttributesDirection
of the new call that will be added to Telecom
- displayName
- ICharSequence
of the caller for incoming calls or initiating user for outgoing calls
- address
- Uri
of the caller for incoming calls or destination for outgoing calls
- Attributes
Remarks
Constructor for the CallAttributes.Builder class
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
CallAttributes.Builder(PhoneAccountHandle, CallAttributesDirection, String, Uri)
Constructor for the CallAttributes.Builder class
[Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;ILjava/lang/CharSequence;Landroid/net/Uri;)V", "", ApiSince=34)]
public Builder(Android.Telecom.PhoneAccountHandle phoneAccountHandle, Android.Telecom.CallAttributesDirection callDirection, string displayName, Android.Net.Uri address);
[<Android.Runtime.Register(".ctor", "(Landroid/telecom/PhoneAccountHandle;ILjava/lang/CharSequence;Landroid/net/Uri;)V", "", ApiSince=34)>]
new Android.Telecom.CallAttributes.Builder : Android.Telecom.PhoneAccountHandle * Android.Telecom.CallAttributesDirection * string * Android.Net.Uri -> Android.Telecom.CallAttributes.Builder
Parameters
- phoneAccountHandle
- PhoneAccountHandle
that belongs to package registered with Telecom. This value cannot be null.
- callDirection
- CallAttributesDirection
of the new call that will be added to Telecom. Value is one of the following: CallAttributes.DIRECTION_INCOMING; CallAttributes.DIRECTION_OUTGOING
- displayName
- String
of the caller for incoming calls or initiating user for outgoing calls. This value cannot be null.
- address
- Uri
of the caller for incoming calls or destination for outgoing calls. This value cannot be null.
- Attributes
Remarks
Constructor for the CallAttributes.Builder class
Android reference for android.telecom.CallAttributes.Builder.Builder.
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.