使用
获取GUID
- 方式1:同步获取
TMFBase.getShark().getGuid();
- 方式2:异步获取
TMFBase.getShark().getGuidAsyn(new IGuidCallback() { @Override public void onCallback(int retCode, String guid) { Log.i(TAG,"guid = " + guid + ", retCode = " + retCode); } });
获取VID
TMFBase.getShark().getVidAsyn(new IVidCallback() {
@Override
public void onCallback(int retCode, String vid) {
Log.i(TAG,"vid = " + vid + ", retCode = " + retCode);
}
});