C# Class SensorbergSDK.BeaconAction

Afficher le fichier Open project: sensorberg-dev/windows10-sdk Class Usage Examples

Private Properties

Свойство Type Description
Equals bool

Méthodes publiques

Méthode Description
BeaconAction ( ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
LaunchWebBrowserAsync ( ) : Task

Tries to launch the web browser with the URL of this beacon action. Note that the type of this action must be VisitWebsite or no browser is launched.

ToMessageDialog ( ) : MessageDialog

Creates a message dialog based on the data of this beacon action. Note that no commands is added to the created dialog.

ToString ( ) : string

Converts this instance to a string.

Validate ( ) : bool

Validates the received action. Requirements for each action type: - URL message: Mandatory: subject, body, URL - Visit website: Optional: subject, body. Mandatory URL - In-app: Optional: subject, body. Mandatory: URL.

operator ( ) : bool

Private Methods

Méthode Description
Equals ( BeaconAction other ) : bool

Method Details

BeaconAction() public méthode

public BeaconAction ( ) : System
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

LaunchWebBrowserAsync() public méthode

Tries to launch the web browser with the URL of this beacon action. Note that the type of this action must be VisitWebsite or no browser is launched.
public LaunchWebBrowserAsync ( ) : Task
Résultat Task

ToMessageDialog() public méthode

Creates a message dialog based on the data of this beacon action. Note that no commands is added to the created dialog.
public ToMessageDialog ( ) : MessageDialog
Résultat Windows.UI.Popups.MessageDialog

ToString() public méthode

Converts this instance to a string.
public ToString ( ) : string
Résultat string

Validate() public méthode

Validates the received action. Requirements for each action type: - URL message: Mandatory: subject, body, URL - Visit website: Optional: subject, body. Mandatory URL - In-app: Optional: subject, body. Mandatory: URL.
public Validate ( ) : bool
Résultat bool

operator() public static méthode

public static operator ( ) : bool
Résultat bool