MethodChannelTencentKit class
An implementation of TencentKitPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TencentKitPlatform
- MethodChannelTencentKit
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isQQInstalled(
) → Future< bool> -
检查QQ是否已安装
override
-
isTIMInstalled(
) → Future< bool> -
检查QQ是否已安装
override
-
login(
{required List< String> scope}) → Future<void> -
登录
override
-
logout(
) → Future< void> -
登出
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerApp(
{required String appId, String? universalLink}) → Future< void> -
向 Open_SDK 注册
override
-
respStream(
) → Stream< TencentResp> -
override
-
setIsPermissionGranted(
{required bool granted, String? buildModel}) → Future< void> -
设置是否已授权获取设备信息/是否同意隐私协议
override
-
分享 - 图片
override
-
分享 - 说说
override
-
分享 - 音乐
override
-
分享 - 文本(Android调用的是系统API,故而不会有回调)
override
-
分享 - 网页
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited