C# Class InteractiveToastExtensions.InteractiveToast

Show file Open project: ScottIsAFool/InteractiveToastExtensions Class Usage Examples

Public Methods

Method Description
AddActionItem ( ActionItem action ) : void
AddAudio ( string source, bool isLoop = null, bool isSilent = null ) : void
GetNotification ( ) : ToastNotification
GetScheduledNotification ( DateTimeOffset dateTime ) : ScheduledToastNotification
RemoveActionItem ( ActionItem action ) : void
RemoveAudio ( ) : void
SetVisual ( Visual visual ) : void

Private Methods

Method Description
GetXml ( ) : string

Gets the XML.

Method Details

AddActionItem() public method

public AddActionItem ( ActionItem action ) : void
action ActionItem
return void

AddAudio() public method

public AddAudio ( string source, bool isLoop = null, bool isSilent = null ) : void
source string
isLoop bool
isSilent bool
return void

GetNotification() public method

public GetNotification ( ) : ToastNotification
return Windows.UI.Notifications.ToastNotification

GetScheduledNotification() public method

public GetScheduledNotification ( DateTimeOffset dateTime ) : ScheduledToastNotification
dateTime DateTimeOffset
return Windows.UI.Notifications.ScheduledToastNotification

RemoveActionItem() public method

public RemoveActionItem ( ActionItem action ) : void
action ActionItem
return void

RemoveAudio() public method

public RemoveAudio ( ) : void
return void

SetVisual() public method

public SetVisual ( Visual visual ) : void
visual Visual
return void