Constructor
new SFSBuddyVariable(name, value, type)
Pass the instance to the SetBuddyVariablesRequest constructor.
| Name | Type | Description |
|---|---|---|
name | string | The name of the Buddy Variable. |
value | boolean | | The value of the Buddy Variable. |
type | number | The type of the Buddy Variable, among those available in the VariableType class. |
Extends
Members
(constant) OFFLINE_PREFIX :string
A persistent Buddy Variable is made available to all Users having the owner in their Buddy Lists, whether that Buddy is online or not.
- string
(readonly) isNull :boolean
null value.- boolean
- Overrides
(readonly) isOffline :boolean
By convention, any Buddy Variable with a name starting with the dollar sign ($) is regarded as persistent and stored locally by the server.
Persistent Buddy Variables are also referred to as "offline variables" because they are available to all Users which have the Variable owner in their Buddy Lists, whether that Buddy is online or not.
- boolean
(readonly) name :string
- string
- Overrides
(readonly) type :string
Returned value is the name of one of the types defined in the VariableType class.
- string
- Overrides
- See
(readonly) value :*
- *
- Overrides
Methods
toString() → {string}
- Type:
- string