ShareSDK class
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
@pragma("vm:entry-point"), inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
- sdkVersion → Future
-
获取sdk版本号
read-only
Static Methods
-
activePlatforms(
) → Future - 已集成的平台
-
auth(
ShareSDKPlatform platform, Map settings, dynamic result(SSDKResponseState, Map, SSDKError)) → Future - 授权
-
cancelAuth(
int platform) → Future - 取消授权
-
getUserInfo(
int platform, dynamic result(SSDKResponseState, Map, SSDKError)) → Future - 获取用户信息
-
hasAuthed(
int platform) → Future - 判断是否授权
-
openWeChatMiniProgram(
String userName, String path, int miniProgramType) → Future - 打开微信小程序
-
regist(
ShareSDKRegister register) → Future - 注册方法: [...]
- 分享函数
-
showEditor(
ShareSDKPlatform platform, SSDKMap params, dynamic result(SSDKResponseState, ShareSDKPlatform, Map, Map, SSDKError)) → Future - 弹出编辑菜单
-
showMenu(
List< ShareSDKPlatform> platforms, SSDKMap params, dynamic result(SSDKResponseState, ShareSDKPlatform, Map, Map, SSDKError)) → Future - 弹出分享菜单