Menu

Set Channel Property

       This property is used to identify different channels from which your app is installed. By setting channel names by yourself, you can track the source of installations and better understand your users. It is recommended to call the setChannel interface before initializing the SDK. If you 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.

Function

public void setChannel(String channel);
ParameterDescriptionTypeRequired
channelchannel nameStringYes

Sample Code

import com.reyun.solar.engine.SolarEngineManager;

SolarEngineManager.getInstance().setChannel("xiaomi");


Previous
Set GAID
Next
Set Visitor ID
Last modified: 2024-12-03Powered by