Enum winrt_notification::Scenario
source ·
[−]pub enum Scenario {
Default,
Alarm,
Reminder,
IncomingCall,
}
Variants
Default
The normal toast behavior.
Alarm
This will be displayed pre-expanded and stay on the user’s screen till dismissed. Audio will loop by default and will use alarm audio.
Reminder
This will be displayed pre-expanded and stay on the user’s screen till dismissed..
IncomingCall
This will be displayed pre-expanded in a special call format and stay on the user’s screen till dismissed. Audio will loop by default and will use ringtone audio.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scenario
impl UnwindSafe for Scenario
Blanket Implementations
Mutably borrows from an owned value. Read more