PhoneAccount.Builder.SetShortDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetShortDescription(ICharSequence) |
設定簡短的描述。 |
| SetShortDescription(String) |
設定簡短的描述。 |
SetShortDescription(ICharSequence)
設定簡短的描述。
[Android.Runtime.Register("setShortDescription", "(Ljava/lang/CharSequence;)Landroid/telecom/PhoneAccount$Builder;", "GetSetShortDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount.Builder SetShortDescription(Java.Lang.ICharSequence value);
[<Android.Runtime.Register("setShortDescription", "(Ljava/lang/CharSequence;)Landroid/telecom/PhoneAccount$Builder;", "GetSetShortDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)>]
abstract member SetShortDescription : Java.Lang.ICharSequence -> Android.Telecom.PhoneAccount.Builder
override this.SetShortDescription : Java.Lang.ICharSequence -> Android.Telecom.PhoneAccount.Builder
參數
- value
- ICharSequence
簡短的描述。
傳回
建築師。
- 屬性
備註
設定簡短的描述。 請參見 PhoneAccount.getShortDescription。
注意:每個 CharSequence 或 String 欄位限制為 256 個字元。 此檢查會在透過 TelecomManager.registerPhoneAccount(PhoneAccount) 註冊 PhoneAccount 時強制執行,若字元欄位限制超過 256,則會拋出 IllegalArgumentException。
Android 參考資料。android.telecom.PhoneAccount.Builder.setShortDescription
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
SetShortDescription(String)
設定簡短的描述。
public Android.Telecom.PhoneAccount.Builder SetShortDescription(string value);
member this.SetShortDescription : string -> Android.Telecom.PhoneAccount.Builder
參數
- value
- String
簡短的描述。
傳回
建築師。
備註
設定簡短的描述。 請參見 PhoneAccount.getShortDescription。
注意:每個 CharSequence 或 String 欄位限制為 256 個字元。 此檢查會在透過 TelecomManager.registerPhoneAccount(PhoneAccount) 註冊 PhoneAccount 時強制執行,若字元欄位限制超過 256,則會拋出 IllegalArgumentException。
Android 參考資料。android.telecom.PhoneAccount.Builder.setShortDescription
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。