API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITRIGMLEXTENSION_INIT()

Brew Release
Brew MP 1.0.2
Description
Called by Trigplayer to initialize a Trigml extension that it's just loaded.
The extension should:
1. invoke ITRIGMLEXTENSIONMETADATA_Deserialize() on the provided metadata interface pointer, supplying the metadata byte array generated by running tc --metadata

2. perform any additional initialization
Params
po
[]:
A pointer to an ITrigmlExtension object.
metadata
[]:
A pointer to an ITrigmlExtensionMetadata object.
Interface
  • ITRIGMLEXTENSION
Prototype
  •    int ITRIGMLEXTENSION_Init(ITrigmlExtension* po, ITrigmlExtensionMetadata* metadata);
    
Return
  •    A BREW error code.
    
Side Effect
  • This method should deserialize the extension's metadata.