Dela via


Notification.Builder.SetLocalOnly(Boolean) Method

Definition

Set whether or not this notification should not bridge to other devices.

[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

Parameters

localOnly
Boolean

If set to true, the notification is shown only locally (not on other devices).

Returns

Attributes

Remarks

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