|
GData JavaScript Client 1.6 | ||||||||
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.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |