| Package | com.google.analytics.data |
| Class | public class UTMCookie |
| Implements | Cookie |
| Subclasses | UTMA, UTMB, UTMC, UTMK, UTMV, UTMX, UTMZ |
| Property | Defined by | ||
|---|---|---|---|
| creation : Date
The cookie creation date
| UTMCookie | ||
| expiration : Date
The cookie expiration date.
| UTMCookie | ||
| proxy : Buffer | UTMCookie | ||
| Property | Defined by | ||
|---|---|---|---|
| fields : Array | UTMCookie | ||
| inURL : String | UTMCookie | ||
| name : String | UTMCookie | ||
| Method | Defined by | ||
|---|---|---|---|
|
UTMCookie(name:String, inURL:String, fields:Array, timespan:Number = 0)
Creates a new UTMCookie instance.
| UTMCookie | ||
|
fromSharedObject(data:Object):void
Deserialize data from a simple object.
| UTMCookie | ||
|
isEmpty():Boolean
Indicates if the cookie is empty.
| UTMCookie | ||
|
isExpired():Boolean
Indicates if the cookie has expired.
| UTMCookie | ||
|
reset():void
Reset the cookie.
| UTMCookie | ||
|
resetTimestamp(timespan:Number):void
Reset the timestamp of the cookie.
| UTMCookie | ||
|
toSharedObject():Object
Serialize data to a simple object.
| UTMCookie | ||
|
toString(showTimestamp:Boolean = false):String
Returns the String representation of the object.
| UTMCookie | ||
|
toURLString():String
Format data to render in the URL.
| UTMCookie | ||
|
valueOf():String
Returns the primitive value of the object.
| UTMCookie | ||
| Method | Defined by | ||
|---|---|---|---|
|
update():void
Update the cookie.
| UTMCookie | ||
| creation | property |
creation:Date [read-write]The cookie creation date
Implementation public function get creation():Date
public function set creation(value:Date):void
| expiration | property |
expiration:Date [read-write]The cookie expiration date.
Implementation public function get expiration():Date
public function set expiration(value:Date):void
| fields | property |
protected var fields:Array
| inURL | property |
protected var inURL:String
| name | property |
protected var name:String
| proxy | property |
public var proxy:Buffer
| UTMCookie | () | constructor |
public function UTMCookie(name:String, inURL:String, fields:Array, timespan:Number = 0)Creates a new UTMCookie instance.
Parametersname:String — The name of the cookie.
|
|
inURL:String — The name of cookie when is serialized in the url.
|
|
fields:Array — The fiels in the order of the cookie.
|
|
timespan:Number (default = 0) — The timespan value of the cookie.
|
| fromSharedObject | () | method |
public function fromSharedObject(data:Object):voidDeserialize data from a simple object.
Parametersdata:Object |
| isEmpty | () | method |
public function isEmpty():BooleanIndicates if the cookie is empty.
ReturnsBoolean |
| isExpired | () | method |
public function isExpired():BooleanIndicates if the cookie has expired.
ReturnsBoolean |
| reset | () | method |
public function reset():voidReset the cookie.
| resetTimestamp | () | method |
public function resetTimestamp(timespan:Number):voidReset the timestamp of the cookie.
Parameterstimespan:Number |
| toSharedObject | () | method |
public function toSharedObject():ObjectSerialize data to a simple object.
ReturnsObject |
| toString | () | method |
public function toString(showTimestamp:Boolean = false):StringReturns the String representation of the object.
ParametersshowTimestamp:Boolean (default = false) |
String — the String representation of the object.
|
| toURLString | () | method |
public function toURLString():StringFormat data to render in the URL.
ReturnsString |
| update | () | method |
protected function update():voidUpdate the cookie.
| valueOf | () | method |
public function valueOf():StringReturns the primitive value of the object.
ReturnsString — the primitive value of the object.
|