Menu

Set Channel

Call setChannel to set the channel name

    1. This plugin is for developers to identify channels by setting channel names by themselves.
    2. It is recommended to call setChannel 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 null, the SDK will automatically collect the channel name, which may result in a null value.
    4. This method only applies to the Android system.


Function

export function setChannel(channel:string);
ParameterParameter MeaningParameter TypeRequired
channelchannel nameStringYes

Sample Code

  let channel:string = "your apk/ipa channel name"
  SolarEngine.setChannel(channel);


Previous
Set GAID
Next
Set Public Event Properties
Last modified: 2024-12-05Powered by