Język

Notification.MediaStyle Constructors

Definition

Overloads

Name Description
Notification.MediaStyle()

Construct a MediaStyle object.

Notification.MediaStyle(Notification+Builder)
Obsolete.

This constructor is deprecated.

Notification.MediaStyle(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

Notification.MediaStyle()

Construct a MediaStyle object.

[Android.Runtime.Register(".ctor", "()V", "")]
public MediaStyle();
Attributes

Remarks

Android reference for android.app.Notification.MediaStyle.MediaStyle.

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

Notification.MediaStyle(Notification+Builder)

Caution

deprecated

This constructor is deprecated.

[Android.Runtime.Register(".ctor", "(Landroid/app/Notification$Builder;)V", "")]
[System.Obsolete("deprecated")]
public MediaStyle(Android.App.Notification.Builder? builder);
[<Android.Runtime.Register(".ctor", "(Landroid/app/Notification$Builder;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.App.Notification.MediaStyle : Android.App.Notification.Builder -> Android.App.Notification.MediaStyle

Parameters

builder
Notification.Builder

Notification.Builder

Attributes

Remarks

This constructor is deprecated. use MediaStyle().

Android reference for android.app.Notification.MediaStyle.MediaStyle.

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

Notification.MediaStyle(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

protected MediaStyle(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Notification.MediaStyle : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Notification.MediaStyle

Parameters

javaReference
IntPtr

nativeint

The Java Native Interface object reference.

transfer
JniHandleOwnership

The ownership transfer to apply to the Java Native Interface object reference.

Remarks

This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.

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