Share via


DisconnectCause.LabelFormatted Property

Definition

Returns a short label which explains the reason for the disconnect cause and is for display in the user interface.

public Java.Lang.ICharSequence? LabelFormatted { [Android.Runtime.Register("getLabel", "()Ljava/lang/CharSequence;", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getLabel", "()Ljava/lang/CharSequence;", "", ApiSince=23)>]
member this.LabelFormatted : Java.Lang.ICharSequence

Property Value

The disconnect label.

Attributes

Remarks

Returns a short label which explains the reason for the disconnect cause and is for display in the user interface. If not null, it is expected that the In-Call UI should display this text where it would normally display the call state ("Dialing", "Disconnected") and is therefore expected to be relatively small. The ConnectionService is responsible for providing and localizing this label. If there is no string provided, returns null.

Java documentation for android.telecom.DisconnectCause.getLabel().

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