TencentKitPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • TencentKitPlatform
Implementers

Constructors

TencentKitPlatform()
Constructs a TencentKitPlatform.

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

isQQInstalled() Future<bool>
检查QQ是否已安装
isTIMInstalled() Future<bool>
检查QQ是否已安装
login({required List<String> scope}) Future<void>
登录
logout() Future<void>
登出
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerApp({required String appId, String? universalLink}) Future<void>
向 Open_SDK 注册
respStream() Stream<BaseResp>
setIsPermissionGranted({required bool granted, String? buildModel}) Future<void>
设置是否已授权获取设备信息/是否同意隐私协议
shareImage({required int scene, required Uri imageUri, String? appName, int extInt = TencentQZoneFlag.DEFAULT}) Future<void>
分享 - 图片
shareMood({required int scene, String? summary, List<Uri>? imageUris, Uri? videoUri}) Future<void>
分享 - 说说
shareMusic({required int scene, required String title, String? summary, Uri? imageUri, required String musicUrl, required String targetUrl, String? appName, int extInt = TencentQZoneFlag.DEFAULT}) Future<void>
分享 - 音乐
shareText({required int scene, required String summary}) Future<void>
分享 - 文本(Android调用的是系统API,故而不会有回调)
shareWebpage({required int scene, required String title, String? summary, Uri? imageUri, required String targetUrl, String? appName, int extInt = TencentQZoneFlag.DEFAULT}) Future<void>
分享 - 网页
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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