| Package | com.google.analytics.core |
| Class | public dynamic class Buffer |
| Property | Defined by | ||
|---|---|---|---|
| utma : UTMA
[read-only]
Indicates the utma value of the buffer.
| Buffer | ||
| utmb : UTMB
[read-only]
Indicates the utmb value of the buffer.
| Buffer | ||
| utmc : UTMC
[read-only]
Indicates the utmc value of the buffer.
| Buffer | ||
| utmk : UTMK
[read-only]
Indicates the utmk value of the buffer.
| Buffer | ||
| utmv : UTMV
[read-only]
Indicates the utmv value of the buffer.
| Buffer | ||
| utmz : UTMZ
[read-only]
Indicates the utmz value of the buffer.
| Buffer | ||
| Method | Defined by | ||
|---|---|---|---|
|
Buffer(config:Configuration, debug:DebugConfiguration, volatile:Boolean = false, data:Object = null)
Creates a new Buffer instance.
| Buffer | ||
|
clearCookies():void
This method clears all the fields of the cookie.
| Buffer | ||
|
generateCookiesHash():Number
This method generates a digest of all the __utmvalues.
| Buffer | ||
|
hasUTMA():Boolean
Indicates if the buffer contains an UTMA value.
| Buffer | ||
|
hasUTMB():Boolean
Indicates if the buffer contains an UTMB value.
| Buffer | ||
|
hasUTMC():Boolean
Indicates if the buffer contains an UTMC value.
| Buffer | ||
|
hasUTMK():Boolean
Indicates if the buffer contains an UTMK value.
| Buffer | ||
|
hasUTMV():Boolean
Indicates if the buffer contains an UTMV value.
| Buffer | ||
|
hasUTMZ():Boolean
Indicates if the buffer contains an UTMZ value.
| Buffer | ||
|
isGenuine():Boolean
| Buffer | ||
|
isVolatile():Boolean
Indicates if the buffer is volatile.
| Buffer | ||
|
resetCurrentSession():void
Clear the current utmb and utmc cookies
both in the SO and in memory
| Buffer | ||
|
save():void
Save the buffer.
| Buffer | ||
|
update(name:String, value:*):void
Updates a property in the buffer.
| Buffer | ||
|
updateUTMA(timestamp:Number):void
Updates the UTMA value with the specified timestamp value.
| Buffer | ||
| utma | property |
utma:UTMA [read-only]Indicates the utma value of the buffer.
Implementation public function get utma():UTMA
| utmb | property |
utmb:UTMB [read-only]Indicates the utmb value of the buffer.
Implementation public function get utmb():UTMB
| utmc | property |
utmc:UTMC [read-only]Indicates the utmc value of the buffer.
Implementation public function get utmc():UTMC
| utmk | property |
utmk:UTMK [read-only]Indicates the utmk value of the buffer.
Implementation public function get utmk():UTMK
| utmv | property |
utmv:UTMV [read-only]Indicates the utmv value of the buffer.
Implementation public function get utmv():UTMV
| utmz | property |
utmz:UTMZ [read-only]Indicates the utmz value of the buffer.
Implementation public function get utmz():UTMZ
| Buffer | () | constructor |
public function Buffer(config:Configuration, debug:DebugConfiguration, volatile:Boolean = false, data:Object = null)Creates a new Buffer instance.
Parametersconfig:Configuration — The Configuration reference use in the Buffer to set it.
|
|
debug:DebugConfiguration — The DebugConfiguration reference of the Buffer.
|
|
volatile:Boolean (default = false) — If true no use of SharedObject, only in-memory data.
|
|
data:Object (default = null) — Can be used to inject data into OBJ or SO.
|
| clearCookies | () | method |
public function clearCookies():voidThis method clears all the fields of the cookie.
| generateCookiesHash | () | method |
public function generateCookiesHash():NumberThis method generates a digest of all the __utmvalues.
ReturnsNumber |
| hasUTMA | () | method |
public function hasUTMA():BooleanIndicates if the buffer contains an UTMA value.
ReturnsBoolean |
| hasUTMB | () | method |
public function hasUTMB():BooleanIndicates if the buffer contains an UTMB value.
ReturnsBoolean |
| hasUTMC | () | method |
public function hasUTMC():BooleanIndicates if the buffer contains an UTMC value.
ReturnsBoolean |
| hasUTMK | () | method |
public function hasUTMK():BooleanIndicates if the buffer contains an UTMK value.
ReturnsBoolean |
| hasUTMV | () | method |
public function hasUTMV():BooleanIndicates if the buffer contains an UTMV value.
ReturnsBoolean |
| hasUTMZ | () | method |
public function hasUTMZ():BooleanIndicates if the buffer contains an UTMZ value.
ReturnsBoolean |
| isGenuine | () | method |
public function isGenuine():Boolean
Returns
Boolean |
| isVolatile | () | method |
public function isVolatile():BooleanIndicates if the buffer is volatile.
ReturnsBoolean |
| resetCurrentSession | () | method |
public function resetCurrentSession():voidClear the current utmb and utmc cookies both in the SO and in memory
| save | () | method |
public function save():voidSave the buffer.
| update | () | method |
public function update(name:String, value:*):voidUpdates a property in the buffer.
Parametersname:String |
|
value:* |
| updateUTMA | () | method |
public function updateUTMA(timestamp:Number):voidUpdates the UTMA value with the specified timestamp value.
Parameterstimestamp:Number |