CallAttributes.Builder.SetContactUri(Uri) 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.
Sets the contact URI for the VoIP app.
[Android.Runtime.Register("setContactUri", "(Landroid/net/Uri;)Landroid/telecom/CallAttributes$Builder;", "", ApiSince=37)]
public Android.Telecom.CallAttributes.Builder SetContactUri(Android.Net.Uri contactUri);
[<Android.Runtime.Register("setContactUri", "(Landroid/net/Uri;)Landroid/telecom/CallAttributes$Builder;", "", ApiSince=37)>]
member this.SetContactUri : Android.Net.Uri -> Android.Telecom.CallAttributes.Builder
Parameters
- contactUri
- Uri
A contact URI with the content scheme and an authority ending in com.android.contacts, accessible to the calling user. This value cannot be null.
Returns
Builder. This value cannot be null.
- Attributes
Remarks
Sets the contact URI for the VoIP app. The current validation requires the content scheme, an authority ending in com.android.contacts, and the calling user's profile. Other VoIP contact directory authorities are not accepted.
Android reference for android.telecom.CallAttributes.Builder.setContactUri.
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.