Class Info |
|---|
public class Session Session of a message. |
Qualifier and Type | Method Name |
|---|---|
void | setMessageName(String messageName) |
void | setMessageId(String messageId) |
void | setDeviceModel(String deviceModel) |
void | setDeviceCategory(String deviceCategory) |
void | setDeviceName(String deviceName) |
void | setPackageName(String packageName) |
Method |
|---|
public void setMessageName(String messageName) Sets the message name. |
Name | Description |
|---|---|
messageName | Message name. For example: featurePrediction, which indicates feature prediction. |
Method |
|---|
public void setMessageId(String messageId) Sets the message ID. |
Name | Description |
|---|---|
messageId | Message ID, consisting of eight digits. When a message is sent again, its ID should remain unchanged. |
Method |
|---|
public void setDeviceModel(String deviceModel) Sets the device model. |
Name | Description |
|---|---|
deviceModel | Model of the device where the donated data is from. Example: MHA-AL00. You are advised to pass this parameter. |
Method |
|---|
public void setDeviceCategory(String deviceCategory) Sets the device category. |
Name | Description |
|---|---|
deviceCategory | Category of the device where the donated data is from. Example: phone: mobile phone (including the telematics equipment) pad: tablet hd: HUAWEI Vision mhd: mobile Vision product (speaker with a screen) speaker: speaker without a screen intelligentWatch: smart watch sportWatch: sports watch glasses: glasses builtinCar: built-in telematics equipment externalCar: external telematics equipment |