Language

DisconnectCause.Label Property

Definition

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

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

Property Value

The disconnect label.

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.

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