Menu

Set Channel

  1. This interface is for developers to identify channels by setting channel names by themselves.
  2. It is recommended to call the setChannel interface before initializing the SDK. This allows all reported events to be tagged with the specified channel name.
  3. If developers do not pass a channel name or pass a null channel name, the SDK will automatically collect the channel name, which may result in a null value.


Parameter NameParameter MeaningParameter TypeMandatory
channelchannel nameStringYes


Call example:

solarengine.setChannel("Google");


Previous
Set GAID
Next
Set Public Event Properties
Last modified: 2024-10-29Powered by