Heartbeat
new Heartbeat(player, configopt, key)
Creates an instance of the heartbeat plugin.
Parameters
| Name | Type | Attributes | Description |
|---|---|---|---|
player |
akamai.amp.Player | The player instance |
|
config |
akamai.amp.heartbeat.HeartbeatConfig | Object |
<optional> |
The configuration override object, or JSON string. Must adhear to the akamai.amp.heartbeat.HeartbeatConfig interface. |
key |
string | The plugin identifier. |