Menu

Set OAID

       SolarEngine China Mainland version SDK will automatically obtain OAID, so developers do not need to set it manually. If developers need to retrieve the OAID themselves, they can call an API to set OAID manually. The SDK will prioritize the value provided by the developer and will not modify or delete it until the next value is provided. If set multiple times, the last provided value will be saved.

Function

public void setOaid(String oaid);
ParameterDescriptionTypeRequired
oaidOAID of the deviceStringNo

Sample Code

GetOaidManager.getInstance().setOaid("oaid");


Note:

If developers have configured isGDPRArea(true) during the SDK initialization, this method cannot be called successfully.

Previous
Get distinct_id
Next
Set GAID
Last modified: 2025-02-06Powered by