C# Class SensorbergSDK.BeaconAction

Datei anzeigen Open project: sensorberg-dev/windows10-sdk Class Usage Examples

Private Properties

Property Type Description
Equals bool

Public Methods

Method 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

Method Description
Equals ( BeaconAction other ) : bool

Method Details

BeaconAction() public method

public BeaconAction ( ) : System
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

LaunchWebBrowserAsync() public method

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
return Task

ToMessageDialog() public method

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
return Windows.UI.Popups.MessageDialog

ToString() public method

Converts this instance to a string.
public ToString ( ) : string
return string

Validate() public method

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
return bool

operator() public static method

public static operator ( ) : bool
return bool