Segment
Segment
new Segment(player, configopt, key)
Creates an instance of the Segment plugin.
Parameters
Name | Type | Attributes | Description |
---|---|---|---|
player |
akamai.amp.Player | The player instance |
|
config |
akamai.amp.segment.SegmentConfig | Object |
<optional> |
The configuration override object, or JSON string. Must adhear to the akamai.amp.segment.SegmentConfig interface. |
key |
string | The plugin identifier. |
Members
sessionId
:string
A reference to Segment session id from anonymousId() method.
sessionId
:string
setter/getter of segment session id.
setPlayerParams
Add or update specific segment params