ToastScenario Enum

Definition

Specifies the scenario, controlling behaviors about the Toast.

public enum ToastScenario
type ToastScenario = 
Public Enum ToastScenario
Inheritance
ToastScenario

Fields

Alarm 1

Causes the Toast to stay on-screen and expanded until the user takes action. Also causes a looping alarm sound to be selected by default.

Default 0

The normal Toast behavior. The Toast appears for a short duration, and then automatically dismisses into Action Center.

IncomingCall 3

Causes the Toast to stay on-screen and expanded until the user takes action (on Mobile this expands to full screen). Also causes a looping incoming call sound to be selected by default.

Reminder 2

Causes the Toast to stay on-screen and expanded until the user takes action.

Applies to