ContextDataService class

Allows access to data about the context the module is running in.

Signature:

export declare class ContextDataService extends ExternalObject 

Extends: ExternalObject

Remarks

Use Runtime.getContextDataService() to get an instance of this class.

Methods

MethodModifiersDescription
getGroupMetadata()Fetch information about the group the oooh is running in
getOoohMetadata()Fetch information about the oooh instance

ContextDataService.getGroupMetadata() method

Fetch information about the group the oooh is running in

Signature:

getGroupMetadata(): Promise<GroupMetadata>;

Returns:

Promise<GroupMetadata>

ContextDataService.getOoohMetadata() method

Fetch information about the oooh instance

Signature:

getOoohMetadata(): Promise<OoohMetadata>;

Returns:

Promise<OoohMetadata>