new StarredContentEvent(valueopt, propertiesopt, transactionIdopt)
Creates an instance of StarredContentEvent with a predefined name and known properties.
- See:
-
CustomEvent.templates.media.MediaEvent
for available properties.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value |
Number
|
<optional> |
||
properties |
Object
|
<optional> |
{} | |
transactionId |
String
|
<optional> |
Example
new sdk.CustomEvent.templates.media.StarredContentEvent(1.39, {
category: 'entertainment',
type: 'video',
identifier: '23413'
}).track()
Extends
- AirshipCustomEvent.templates.media.MediaEvent