@swaiot/jssdk
Version:
a jssdk for coocaa system
18 lines (17 loc) • 766 B
TypeScript
import ICCAccount from "../../../modules/account/Account";
import { ICommonParams, IRemoveListenerParams, IAddListenerParams } from '../../../modules/IModule';
declare class AccountImpl implements ICCAccount {
private static instance;
private module;
private constructor();
static getModule(): AccountImpl;
getAccountInfo(obj: ICommonParams): void;
getAccessToken(obj?: ICommonParams): void;
isLogin(obj: ICommonParams): void;
startLogin(obj: ICommonParams): void;
addAccountChangedListener(obj: IAddListenerParams): void;
removeAccountChangedListener(obj: IRemoveListenerParams): void;
updateAccessToken(obj: ICommonParams): void;
addFavorite(obj: ICommonParams): void;
}
export default AccountImpl;