identify static method
设置当前用户的 distinctId。一般情况下,如果是一个注册用户,则应该使用注册系统内 的 user_id,如果是个未注册用户,则可以选择一个不会重复的匿名 ID,如设备 ID 等,如果 客户没有调用 identify,则使用SDK自动生成的匿名 ID
distinctId
当前用户的 distinctId,仅接受数字、下划线和大小写字母
Implementation
static void identify(String distinctId) {
_channel.invokeMethod("identify", [distinctId]);
}