您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
708 B
28 行
708 B
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
using HuaweiService;
|
|
|
|
namespace HuaweiService.Auth
|
|
{
|
|
public class TokenSnapshot_Data : IHmsBaseClass{
|
|
public string name => "com.huawei.agconnect.core.service.auth.TokenSnapshot";
|
|
}
|
|
public class TokenSnapshot :HmsClass<TokenSnapshot_Data>
|
|
{
|
|
public TokenSnapshot (): base() { }
|
|
public TokenSnapshot.State getState() {
|
|
return Call<State>("getState");
|
|
}
|
|
public string getToken() {
|
|
return Call<string>("getToken");
|
|
}
|
|
|
|
public enum State
|
|
{
|
|
SIGNED_IN,
|
|
TOKEN_UPDATED,
|
|
TOKEN_INVALID,
|
|
SIGNED_OUT
|
|
}
|
|
}
|
|
}
|