mbga

Method

mbga.newFetchBlackListRequest

Creates a request for acquiring a list of blacklisted users.

Parameter

Name

Type

Description

idSpec

opensocial.IdSpec

opt_params

Map<mbga.BlackListRequestFields, Object>

Return value

Type

Description

Object

Request object

Sample

mbga.requestFetchBlackList

Acquires a list of blacklisted users.

Parameter

Name

Type

Description

idSpec

opensocial.IdSpec

opt_params

Map<mbga.BlackListRequestFields, Object>

callback

function

Return value

None

Sample

mbga.newCheckNGWordRequest

Generates a request for investigating whether or not the passed string contains NGWords.

Parameter

Name

Type

Description

data

String

The string to be investigated for containing NGWords

Return value

Type

Description

Object

Request object

Sample

mbga.requestCheckNGWord

Investigates whether or not the passed string contains NGWords.

Parameter

Name

Type

Description

data

String

The string to be investigated for containing NGWords

callback

function

Return value

None

Sample

mbga.newCreateDiary

Posts diary entries.

Parameter

Name

Type

Description

params

object

Parameters for diary entries to be posted.

Return value

None

Sample

mbga.requestCreateDiary

Posts diary entries.

Parameter

Name

Type

Description

diary

mbga.Diary

Diary object

callback

function

Receives callbacks.

Return value

None

Sample

mbga.newFetchAvatarRequest

Creates a request for acquiring an avatar image.

Parameter

Name

Type

Description

idSpec

opensocial.IdSpec

opt_params

Map<mbga.AvatarRequestFields, Object>

Return value

Type

Description

Object

Request object

Sample

mbga.requestFetchAvatar

Acquires an avatar image.

Parameter

Name

Type

Description

idSpec

opensocial.IdSpec

opt_params

Map<mbga.AvatarRequestFields, Object>

callback

function

Return value

None

Sample

mbga.newFetchTextDataRequest

Creates a request for acquiring the text data

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

Return value

Type

Description

Object

Request object

Sample

mbga.requestFetchTextData

Acquires The text data.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

callback

function

Return value

None

Sample

mbga.newCreateTextDataRequest

This creates a request for creating new TextData.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

Return value

Type

Description

Object

Request object

Sample

mbga.requestCreateTextData

This creates new TextData.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

callback

function

Return value

None

Sample

mbga.newUpdateTextDataRequest

This creates a request for updating the content of existing TextData.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

Return value

Type

Description

Object

Request object

Sample

mbga.requestUpdateTextData

This updates the content of existing TextData.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

callback

function

Return value

None

Sample

mbga.newRemoveTextDataRequest

This creates a request for deleting the content of existing TextData.

Parameter

Name

Type

Description

params

Map

Return value

Type

Description

Object

Request object

Sample

mbga.requestRemoveTextData

This deletes the existing TextData.

Parameter

Name

Type

Description

params

Map<mbga.TextDataRequestFields, Object>

callback

function

Return value

None

Sample

Revision History

  • 12/2010
    • Initial Release.

PREVIOUS

mbga API

NEXT

mbga.BlackList