MethodChannelTencentCloudChatPush class
An implementation of TencentCloudChatPushPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TencentCloudChatPushPlatform
- MethodChannelTencentCloudChatPush
Constructors
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
-
addPushListener(
{required TIMPushListener listener}) → Future< void> -
override
-
callExperimentalAPI(
{required String api, Object? param}) → Future< TencentCloudChatPushResult> -
override
-
checkPushStatus(
{required int brandID}) → Future< TencentCloudChatPushResult< String> > -
override
-
createNotificationChannel(
{required String channelID, required String channelName, String? channelDesc, String? channelSound}) → Future< TencentCloudChatPushResult> -
override
-
disableAutoRegisterPush(
) → Future< TencentCloudChatPushResult> -
override
-
disablePostNotificationInForeground(
{required bool disable}) → Future< TencentCloudChatPushResult> -
override
-
enableBackupChannels(
) → Future< TencentCloudChatPushResult> -
override
-
forceUseFCMPushChannel(
{required bool enable}) → Future< TencentCloudChatPushResult> -
override
-
getAndroidPushToken(
) → Future< TencentCloudChatPushResult< String> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getPushBrandId(
) → Future< TencentCloudChatPushResult< int> > -
override
-
getRegistrationID(
) → Future< TencentCloudChatPushResult> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOnAppWakeUpEvent(
{required VoidCallback onAppWakeUpEvent}) → Future< TencentCloudChatPushResult> -
override
-
registerOnNotificationClickedEvent(
{required dynamic onNotificationClicked({required String ext, String? groupID, String? userID})}) → Future< TencentCloudChatPushResult> -
override
-
registerPush(
{int? sdkAppId, String? appKey}) → Future< TencentCloudChatPushResult> -
override
-
removePushListener(
{required TIMPushListener listener}) → Future< void> -
override
-
setAndroidCustomConfigFile(
{required String configs}) → Future< TencentCloudChatPushResult> -
override
-
setAndroidPushToken(
{required String businessID, required String pushToken}) → Future< TencentCloudChatPushResult> -
override
-
setApplicationGroupID(
{required String applicationGroupID}) → Future< TencentCloudChatPushResult> -
override
-
setBusID(
{required int busID}) → Future< TencentCloudChatPushResult> -
override
-
setCustomFCMRing(
{required String channelId, required String ringName, required bool enable}) → Future< TencentCloudChatPushResult> -
override
-
setPushBrandId(
{required int brandId}) → Future< TencentCloudChatPushResult> -
override
-
setRegistrationID(
{required String registrationID}) → Future< TencentCloudChatPushResult> -
override
-
setXiaoMiPushStorageRegion(
{required int region}) → Future< TencentCloudChatPushResult> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unRegisterPush(
) → Future< TencentCloudChatPushResult> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited