Метод | Описание | |
---|---|---|
ApplyPassport ( string appKey, string appSecret, string url = DEFAULT_URL ) : void |
申请新的通行证。 每次调用完毕前将有1秒左右的Thread.Sleep时间
|
|
GetApiContainer ( string appKey, string appSecret, string url = DEFAULT_URL ) : |
获取appKey对应的接口集合。 调用此方法请确认此appKey已经成功使用SdkManager.Register(appKey, appSecret, appUrl)方法注册过。
|
|
GetPassportBag ( string appKey ) : |
||
RemovePassport ( string appKey ) : void |
清除当前的通行证
|
Метод | Описание | |
---|---|---|
Register ( string appKey, string secret, string url = DEFAULT_URL, bool getPassportImmediately = false ) : void |
注册P2P应用基本信息(可以选择不立即载入Passport以节省系统启动时间)
|
public static ApplyPassport ( string appKey, string appSecret, string url = DEFAULT_URL ) : void | ||
appKey | string | |
appSecret | string | |
url | string | |
Результат | void |
public static GetApiContainer ( string appKey, string appSecret, string url = DEFAULT_URL ) : |
||
appKey | string | |
appSecret | string | |
url | string | |
Результат |
public static GetPassportBag ( string appKey ) : |
||
appKey | string | |
Результат |
public static RemovePassport ( string appKey ) : void | ||
appKey | string | |
Результат | void |