Language

DisconnectCause.Description Property

Definition

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

public string? Description { get; }
member this.Description : string

Property Value

The disconnect description.

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.

Android reference 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