UrbanAirship.CustomEvent Class Reference
A Custom Event model object. More...
Public Member Functions | |
CustomEvent () | |
Initializes a new instance of the UrbanAirship.CustomEvent class. | |
void | AddProperty (string name, string value) |
Adds a string property. | |
void | AddProperty (string name, double value) |
Adds a double property. | |
void | AddProperty (string name, bool value) |
Adds a bool property. | |
void | AddProperty (string name, ICollection< string > value) |
Adds a string array property. | |
Properties | |
string | EventName [get, set] |
Gets or sets the name of the event. | |
decimal | EventValue [get, set] |
Gets or sets the event value. | |
string | TransactionId [get, set] |
Gets or sets the transaction identifier. | |
string | InteractionType [get, set] |
Gets or sets interaction type. | |
string | InteractionId [get, set] |
Gets or sets the interaction identifier. | |
Detailed Description
A Custom Event model object.
Constructor & Destructor Documentation
◆ CustomEvent()
|
inline |
Initializes a new instance of the UrbanAirship.CustomEvent class.
Member Function Documentation
◆ AddProperty() [1/4]
|
inline |
Adds a bool property.
- Parameters
-
name The property name. value The property value.
◆ AddProperty() [2/4]
|
inline |
Adds a double property.
- Parameters
-
name The property name. value The property value.
◆ AddProperty() [3/4]
|
inline |
Adds a string array property.
- Parameters
-
name The property name. value The property value.
◆ AddProperty() [4/4]
|
inline |
Adds a string property.
- Parameters
-
name The property name. value The property value.
Property Documentation
◆ EventName
|
getset |
Gets or sets the name of the event.
The name of the event.
◆ EventValue
|
getset |
Gets or sets the event value.
The event value.
◆ InteractionId
|
getset |
Gets or sets the interaction identifier.
The interaction identifier.
◆ InteractionType
|
getset |
Gets or sets interaction type.
The interaction type.
◆ TransactionId
|
getset |
Gets or sets the transaction identifier.
The transaction identifier.