|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.Im
Describes an instant messaging address.
Defined in gdata.js
Field Summary | |
{string|undefined} |
address
IM address. |
{string|undefined} |
label
Label. |
{string|undefined} |
primary
Whether this is the primary instant messaging address. |
{string|undefined} |
protocol
Im protocol. |
{string|undefined} |
rel
Im type. |
<static> <final> {string} |
PROTOCOL_AIM
AIM. |
<static> <final> {string} |
PROTOCOL_GOOGLE_TALK
Google Talk. |
<static> <final> {string} |
PROTOCOL_ICQ
ICQ. |
<static> <final> {string} |
PROTOCOL_JABBER
Jabber. |
<static> <final> {string} |
PROTOCOL_MSN
MSN. |
<static> <final> {string} |
PROTOCOL_QQ
Tencent QQ. |
<static> <final> {string} |
PROTOCOL_SKYPE
Skype. |
<static> <final> {string} |
PROTOCOL_YAHOO
Yahoo. |
<static> <final> {string} |
REL_HOME
Home instant messaging address. |
<static> <final> {string} |
REL_OTHER
Other instant messaging address. |
<static> <final> {string} |
REL_WORK
Work instant messaging address. |
Constructor Summary | |
google.gdata.Im(<Object> opt_params)
Constructs an instant messaging address using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getAddress()
Returns the IM address. |
string|undefined
|
getLabel()
Returns the label. |
boolean|undefined
|
getPrimary()
Returns whether this is the primary instant messaging address. |
string|undefined
|
getProtocol()
Returns the im protocol. |
string|undefined
|
getRel()
Returns the im type. |
void
|
setAddress(<string|undefined> address)
Sets the IM address. |
void
|
setLabel(<string|undefined> label)
Sets the label. |
void
|
setPrimary(<boolean|undefined> primary)
Sets whether this is the primary instant messaging address. |
void
|
setProtocol(<string|undefined> protocol)
Sets the im protocol. |
void
|
setRel(<string|undefined> rel)
Sets the im type. |
Field Detail |
{string|undefined} address
{string|undefined} label
{string|undefined} primary
{string|undefined} protocol
{string|undefined} rel
<static> <final> {string} PROTOCOL_AIM
<static> <final> {string} PROTOCOL_GOOGLE_TALK
<static> <final> {string} PROTOCOL_ICQ
<static> <final> {string} PROTOCOL_JABBER
<static> <final> {string} PROTOCOL_MSN
<static> <final> {string} PROTOCOL_QQ
<static> <final> {string} PROTOCOL_SKYPE
<static> <final> {string} PROTOCOL_YAHOO
<static> <final> {string} REL_HOME
<static> <final> {string} REL_OTHER
<static> <final> {string} REL_WORK
Constructor Detail |
google.gdata.Im(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: address, label, primary, protocol, and rel.
Method Detail |
string|undefined getAddress()
string|undefined getLabel()
boolean|undefined getPrimary()
string|undefined getProtocol()
string|undefined getRel()
void setAddress(<string|undefined> address)
address
- IM address or undefined for none.
void setLabel(<string|undefined> label)
label
- Label or undefined for none.
void setPrimary(<boolean|undefined> primary)
primary
- Whether this is the primary instant messaging address or undefined for none.
void setProtocol(<string|undefined> protocol)
protocol
- Im protocol or undefined for none.
void setRel(<string|undefined> rel)
rel
- Im type or undefined for none.
|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |