Menu

Set OAID

       SolarEngine SDK provides an interface for setting the OAID, making it convenient for developers to integrate flexibly. Normally, the SDK will automatically obtain the OAID with no need to set manually. When manually set, it will be saved and will not be modified or deleted before the next input. If set repeatedly, only the last provided value will be retained.

Function

export function setOaid(oaid:string);
ParameterParameter MeaningParameter TypeRequired
oaidOAID of the deviceStringNO

Sample Code

// Please call before SDK initialization.
let oaid:string = "your oaid";
SolarEngine.setOaid(oaid);

Note:

     If developer already set isGDPRArea(true) during SDK initialization, this method will not work.

Previous
Account ID
Next
Set GAID
Last modified: 2024-12-05Powered by