Language

StatusBarNotification.Clone Method

Definition

Creates and returns a copy of this Object.

[Android.Runtime.Register("clone", "()Landroid/service/notification/StatusBarNotification;", "GetCloneHandler")]
public virtual Android.Service.Notification.StatusBarNotification? Clone();
[<Android.Runtime.Register("clone", "()Landroid/service/notification/StatusBarNotification;", "GetCloneHandler")>]
override this.Clone : unit -> Android.Service.Notification.StatusBarNotification

Returns

A new status bar notification containing a clone of the notification.

Attributes

Remarks

The default implementation creates a new record and clones its notification. The underlying Java record reuses the original user handle.

Android reference for android.service.notification.StatusBarNotification.clone.

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