다음을 통해 공유


DisconnectCause.DescriptionFormatted Property

Definition

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

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

Property Value

The disconnect description.

Attributes

Remarks

Returns a description which explains the reason for the disconnect cause and is for display in the user interface. This optional text is generally a longer and more descriptive version of #getLabel, however it can exist even if #getLabel is empty. The In-Call UI should display this relatively prominently; the traditional implementation displays this as an alert dialog. The ConnectionService is responsible for providing and localizing this message. If there is no string provided, returns null.

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

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