다음을 통해 공유


RemoteConnection.Callback.OnCallerDisplayNameChanged Method

Definition

Indicates that the caller display name of this RemoteConnection has changed.

[Android.Runtime.Register("onCallerDisplayNameChanged", "(Landroid/telecom/RemoteConnection;Ljava/lang/String;I)V", "GetOnCallerDisplayNameChanged_Landroid_telecom_RemoteConnection_Ljava_lang_String_IHandler", ApiSince=23)]
public virtual void OnCallerDisplayNameChanged (Android.Telecom.RemoteConnection connection, string callerDisplayName, Android.Telecom.Presentation presentation);
[<Android.Runtime.Register("onCallerDisplayNameChanged", "(Landroid/telecom/RemoteConnection;Ljava/lang/String;I)V", "GetOnCallerDisplayNameChanged_Landroid_telecom_RemoteConnection_Ljava_lang_String_IHandler", ApiSince=23)>]
abstract member OnCallerDisplayNameChanged : Android.Telecom.RemoteConnection * string * Android.Telecom.Presentation -> unit
override this.OnCallerDisplayNameChanged : Android.Telecom.RemoteConnection * string * Android.Telecom.Presentation -> unit

Parameters

connection
RemoteConnection

The RemoteConnection invoking this method.

callerDisplayName
String

The new caller display name of the RemoteConnection.

presentation
Presentation

The presentation requirements for the handle. See TelecomManager for valid values.

Attributes

Remarks

Indicates that the caller display name of this RemoteConnection has changed. See #getCallerDisplayName() and #getCallerDisplayNamePresentation().

Java documentation for android.telecom.RemoteConnection.Callback.onCallerDisplayNameChanged(android.telecom.RemoteConnection, java.lang.String, int).

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