MethodChannelIntercomFlutter class
An implementation of IntercomFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- IntercomFlutterPlatform
- MethodChannelIntercomFlutter
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
-
displayHelpCenter(
) → Future< void> -
override
-
displayMessageComposer(
String message) → Future< void> -
override
-
displayMessenger(
) → Future< void> -
override
-
getUnreadStream(
) → Stream -
override
-
handlePush(
Map< String, dynamic> message) → Future<void> -
override
-
handlePushMessage(
) → Future< void> -
override
-
hideMessenger(
) → Future< void> -
override
-
initialize(
String appId, {String? androidApiKey, String? iosApiKey}) → Future< void> -
function to initialize the Intercom SDK
override
-
isIntercomPush(
Map< String, dynamic> message) → Future<bool> -
override
-
logEvent(
String name, [Map< String, dynamic> ? metaData]) → Future<void> -
override
-
logout(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerIdentifiedUser(
{String? userId, String? email}) → Future< void> -
override
-
registerUnidentifiedUser(
) → Future< void> -
override
-
sendTokenToIntercom(
String token) → Future< void> -
override
-
setBottomPadding(
int padding) → Future< void> -
This method allows you to set a fixed bottom padding for in app messages and the launcher.
override
-
setInAppMessagesVisibility(
IntercomVisibility visibility) → Future< void> -
override
-
setLauncherVisibility(
IntercomVisibility visibility) → Future< void> -
override
-
setUserHash(
String userHash) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unreadConversationCount(
) → Future< int> -
override
-
updateUser(
{String? email, String? name, String? phone, String? company, String? companyId, String? userId, int? signedUpAt, String? language, Map< String, dynamic> ? customAttributes}) → Future<void> -
Updates the attributes of the current Intercom user.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited