C# Класс SensorbergSDK.BeaconAction

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Equals bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Equals ( BeaconAction other ) : bool

Описание методов

BeaconAction() публичный Метод

public BeaconAction ( ) : System
Результат System

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

LaunchWebBrowserAsync() публичный Метод

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
Результат Task

ToMessageDialog() публичный Метод

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
Результат Windows.UI.Popups.MessageDialog

ToString() публичный Метод

Converts this instance to a string.
public ToString ( ) : string
Результат string

Validate() публичный Метод

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
Результат bool

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool