語言

Notification.Builder.SetLocalOnly(Boolean) 方法

定義

設定此通知是否不應橋接到其他裝置。

[Android.Runtime.Register("setLocalOnly", "(Z)Landroid/app/Notification$Builder;", "GetSetLocalOnly_ZHandler")]
public virtual Android.App.Notification.Builder SetLocalOnly(bool localOnly);
[<Android.Runtime.Register("setLocalOnly", "(Z)Landroid/app/Notification$Builder;", "GetSetLocalOnly_ZHandler")>]
abstract member SetLocalOnly : bool -> Android.App.Notification.Builder
override this.SetLocalOnly : bool -> Android.App.Notification.Builder

參數

localOnly
Boolean

boolean

傳回

這個 Android.App.Notification.Builder 實例,允許通話串接。

屬性

備註

設定此通知是否不應橋接到其他裝置。 部分通知可橋接至其他裝置以供遠端顯示。 此提示可設定為建議不橋接此通知。

Android 參考資料。android.app.Notification.Builder.setLocalOnly

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

適用於