Call.Details.ContactDisplayName 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.
Returns the name of the caller on the remote end, as derived from a
android.provider.ContactsContract
lookup of the call's handle.
public virtual string ContactDisplayName { [Android.Runtime.Register("getContactDisplayName", "()Ljava/lang/String;", "GetGetContactDisplayNameHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getContactDisplayName", "()Ljava/lang/String;", "GetGetContactDisplayNameHandler", ApiSince=30)>]
member this.ContactDisplayName : string
Property Value
The name of the caller, or null
if the lookup is not yet complete, if
there's no contacts entry for the caller, or if the InCallService
does
not hold the android.Manifest.permission#READ_CONTACTS
permission.
- Attributes
Remarks
Returns the name of the caller on the remote end, as derived from a android.provider.ContactsContract
lookup of the call's handle.
Java documentation for android.telecom.Call.Details.getContactDisplayName()
.
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.