ROStructType

Overview

Abstract record object used as a prototype by custom RODL record types.

Location

RemObjectsSDK.js


Instance Methods


constructor ROStructType

Creates an instance.

function constructor ROStructType()

fromObject

Reads fields values (recursively if needed) from shallow JavaScript object.

function fromObject(aValue)

Parameters:

  • aValue: object

readFrom

Reads itself from the message.

function readFrom(aMessage)

Parameters:


toObject

Returns a shallow JavaScript object constructed from fields values.

function toObject(aStoreType)

Parameters:

  • aStoreType: boolean

writeTo

Writes itself to the message.

function writeTo(aMessage)

Parameters: