Struct winrt_notification::ToastNotification
source ·
[−]#[repr(transparent)]pub struct ToastNotification(_);
Implementations
pub fn SetExpirationTime<'a, Param0>(&self, value: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, IReference<DateTime>>,
pub fn Dismissed<'a, Param0>(
&self,
handler: Param0
) -> Result<EventRegistrationToken, Error> where
Param0: IntoParam<'a, TypedEventHandler<ToastNotification, ToastDismissedEventArgs>>,
pub fn RemoveDismissed<'a, Param0>(&self, token: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub fn Activated<'a, Param0>(
&self,
handler: Param0
) -> Result<EventRegistrationToken, Error> where
Param0: IntoParam<'a, TypedEventHandler<ToastNotification, IInspectable>>,
pub fn RemoveActivated<'a, Param0>(&self, token: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub fn Failed<'a, Param0>(
&self,
handler: Param0
) -> Result<EventRegistrationToken, Error> where
Param0: IntoParam<'a, TypedEventHandler<ToastNotification, ToastFailedEventArgs>>,
pub fn RemoveFailed<'a, Param0>(&self, token: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub fn SetTag<'a, Param0>(&self, value: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, HSTRING>,
pub fn SetGroup<'a, Param0>(&self, value: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, HSTRING>,
pub fn CreateToastNotification<'a, Param0>(
content: Param0
) -> Result<ToastNotification, Error> where
Param0: IntoParam<'a, XmlDocument>,
pub fn SetRemoteId<'a, Param0>(&self, value: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, HSTRING>,
pub fn SetData<'a, Param0>(&self, value: Param0) -> Result<(), Error> where
Param0: IntoParam<'a, NotificationData>,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ToastNotification
impl Unpin for ToastNotification
impl UnwindSafe for ToastNotification
Blanket Implementations
Mutably borrows from an owned value. Read more