NeedsExamples
opensocial.MessageCollection
Class for MessageCollection features.
;String getField(key, opt_params)
Parameters
NameTypeDescription |
|
Returns
TypeDescription |
|
Description
Gets the MessageCollection data that's associated with the specified key.
;setField(key, data)
Parameters
NameTypeDescription |
|
Description
Sets data for this album associated with the given key.
All of the fields that a MessageCollection can have. It is only required to set ID. See also: opensocial.MessageCollection.getField()
string, unique ID for this message collection. May be used interchangeably with the string 'id'.
<static> Member of: opensocial.MessageCollection.Field.TITLE string, the title of the MessageCollection. May be used interchangeably with the string 'title'.
<static> Member of: opensocial.MessageCollection.Field.TOTAL int, total number of messages in this group. May be used interchangeably with the string 'total'.
<static> Member of: opensocial.MessageCollection.Field.UNREAD int, number of unread messages in this group. May be used interchangeably with the string 'unread'.
<static> Member of: opensocial.MessageCollection.Field.UPDATED string, last datetime update for this message collection. May be used interchangeably with the string 'updated'.
opensocial.Url, List of related URLs for this message collection. Supported URL types include: 1. icon: icon for this mailbox 2. alternate: alternate form for this mailbox (text/html being the most common) May be used interchangeably with the string 'urls'.
{{ JsApiAlphaList_(v0.9) }}