ToastNotification class winrt Class
Defines the content, associated metadata and events, and expiration time of a toast notification.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- ToastNotification
- Implemented types
- Available extensions
Constructors
Properties
-
content
→ Pointer<
COMObject> -
no setter
- data ↔ NotificationData?
-
getter/setter pair
- expirationTime ↔ DateTime?
-
getter/setter pair
- expiresOnReboot ↔ bool
-
getter/setter pair
- group ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificationMirroring ↔ NotificationMirroring
-
getter/setter pair
- priority ↔ ToastNotificationPriority
-
getter/setter pair
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- remoteId ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suppressPopup ↔ bool
-
getter/setter pair
- tag ↔ String
-
getter/setter pair
Methods
-
add_Activated(
Pointer< NativeFunction< handler) → intTypedEventHandler> > -
add_Dismissed(
Pointer< NativeFunction< handler) → intTypedEventHandler> > -
add_Failed(
Pointer< NativeFunction< handler) → intTypedEventHandler> > -
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
remove_Activated(
int token) → void -
remove_Dismissed(
int token) → void -
remove_Failed(
int token) → void -
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createToastNotification(
Pointer< COMObject> content) → ToastNotification