setDeviceAttribute
fun setDeviceAttribute(context: Context, attributeName: String, attributeValue: Any, workspaceId: String? = null): MoETask<DeviceAttributeResult>
Set device attribute for the given workspace id instance (if null, then default instance). Supported value data types are:
Number (Int, Long, Double, Float)
String
Boolean
Date (ISO 8601 String)
Parameters
Throws
if the SDK is not initialized.