C# Class SensorbergSDK.Internal.Utils.NotificationUtils

Mostra file Open project: sensorberg-dev/windows10-sdk

Public Methods

Method Description
CreateToastNotification ( BeaconAction beaconAction ) : ToastNotification

Creates a toast notification instance based on the data of the given beacon action.

CreateToastNotification ( string textLine1, string textLine2 = null, string textLine3 = null ) : ToastNotification

For testing and debugging.

CreateToastTemplate ( BeaconActionType beaconActionType, string subject, string body, string url ) : XmlDocument

Creates a toast notification template and populates it with the given data.

ShowToastNotification ( ToastNotification toastNotification ) : void

Method Details

CreateToastNotification() public static method

Creates a toast notification instance based on the data of the given beacon action.
public static CreateToastNotification ( BeaconAction beaconAction ) : ToastNotification
beaconAction BeaconAction
return Windows.UI.Notifications.ToastNotification

CreateToastNotification() public static method

For testing and debugging.
public static CreateToastNotification ( string textLine1, string textLine2 = null, string textLine3 = null ) : ToastNotification
textLine1 string
textLine2 string
textLine3 string
return Windows.UI.Notifications.ToastNotification

CreateToastTemplate() public static method

Creates a toast notification template and populates it with the given data.
public static CreateToastTemplate ( BeaconActionType beaconActionType, string subject, string body, string url ) : XmlDocument
beaconActionType BeaconActionType
subject string
body string
url string
return Windows.Data.Xml.Dom.XmlDocument

ShowToastNotification() public static method

public static ShowToastNotification ( ToastNotification toastNotification ) : void
toastNotification Windows.UI.Notifications.ToastNotification
return void