語言

DisconnectCause.Label 屬性

定義

回傳一個簡短標籤,說明斷線原因,並用於使用者介面顯示。

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

屬性值

斷線標籤。

備註

回傳一個簡短標籤,說明斷線原因,並用於使用者介面顯示。 若非空,預期 In-Call 介面應在通常顯示通話狀態(「撥號」、「斷線」)的位置顯示此文字,因此預期文字相對較小。 ConnectionService 負責提供並本地化此標籤。 若無字串,則回傳 null。

Android 參考資料。android.telecom.DisconnectCause.getLabel

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於