DyPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • DyPlatform
Implementers

Constructors

DyPlatform()
Constructs a DyPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDyCallbackListener(DyCallBackListener callBackListener) → void
增加回调
getClientToken() Future<String?>
生成 client_token
getPlatformVersion() Future<String?>
initKey(String clientKey, String clientSecret) Future<String?>
初始化key
loginInWithDouyin(String scope) Future<String?>
登录
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reNewAccessToken(String refreshToken) Future<String?>
刷新AccessToken
reNewRefreshToken(String refreshToken) Future<String?>
刷新refreshToken
shareToEditPage(List<String> imgPathList, List<String> videoPathList, List<String> mHashTagList, bool shareToPublish, String mState, String appId, String appTitle, String description, String appUrl) Future
分享去编辑页面
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DyPlatform
The default instance of DyPlatform to use.
getter/setter pair