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);
Parameter | Description | Type | Required |
---|---|---|---|
channel | channel name | String | Yes |
Sample Code
import com.reyun.solar.engine.SolarEngineManager;
SolarEngineManager.getInstance().setChannel("xiaomi");