StatusBarNotification.OpPkg Property

Definition

The package that posted the notification.

public virtual string OpPkg { [Android.Runtime.Register("getOpPkg", "()Ljava/lang/String;", "GetGetOpPkgHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getOpPkg", "()Ljava/lang/String;", "GetGetOpPkgHandler", ApiSince=29)>]
member this.OpPkg : string

Property Value

Attributes

Remarks

The package that posted the notification.

Might be different from #getPackageName() if the app owning the notification has a NotificationManager#setNotificationDelegate(String) notification delegate.

Java documentation for android.service.notification.StatusBarNotification.getOpPkg().

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