次の方法で共有


StatusBarNotification Constructors

Definition

Overloads

StatusBarNotification(Parcel)
StatusBarNotification(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

StatusBarNotification(String, String, Int32, String, Int32, Int32, Int32, Notification, UserHandle, Int64)

This member is deprecated.

StatusBarNotification(Parcel)

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public StatusBarNotification (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Service.Notification.StatusBarNotification : Android.OS.Parcel -> Android.Service.Notification.StatusBarNotification

Parameters

in
Parcel
Attributes

Remarks

Java documentation for android.service.notification.StatusBarNotification.StatusBarNotification(java.lang.String, java.lang.String, int, java.lang.String, int, int, int, android.app.Notification, android.os.UserHandle, long).

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

StatusBarNotification(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

StatusBarNotification(String, String, Int32, String, Int32, Int32, Int32, Notification, UserHandle, Int64)

This member is deprecated.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;IIILandroid/app/Notification;Landroid/os/UserHandle;J)V", "")]
public StatusBarNotification (string? pkg, string? opPkg, int id, string? tag, int uid, int initialPid, int score, Android.App.Notification? notification, Android.OS.UserHandle? user, long postTime);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;IIILandroid/app/Notification;Landroid/os/UserHandle;J)V", "")>]
new Android.Service.Notification.StatusBarNotification : string * string * int * string * int * int * int * Android.App.Notification * Android.OS.UserHandle * int64 -> Android.Service.Notification.StatusBarNotification

Parameters

pkg
String
opPkg
String
id
Int32
tag
String
uid
Int32
initialPid
Int32
score
Int32
notification
Notification
user
UserHandle
postTime
Int64
Attributes

Remarks

This member is deprecated. Non-system apps should not need to create StatusBarNotifications.

Java documentation for android.service.notification.StatusBarNotification.StatusBarNotification(java.lang.String, java.lang.String, int, java.lang.String, int, int, int, android.app.Notification, android.os.UserHandle, long).

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