HippoFlutterSdkPlatform class abstract
The interface that platform-specific implementations of hippo_flutter_sdk must extend.
This class defines the API for the hippo_flutter_sdk plugin. Platform-specific implementations of this class should be set as the default instance of HippoFlutterSdkPlatform when they register themselves.
- Inheritance
-
- Object
- PlatformInterface
- HippoFlutterSdkPlatform
- Implementers
Constructors
- HippoFlutterSdkPlatform()
- Constructs a HippoFlutterSdkPlatform.
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
-
clearHippoData(
) → Future< void> - Clears all user data from the native platform.
-
getUnreadCount(
) → Future< int?> - Retrieves the unread message count from the native platform.
-
getUnreadCountStream(
) → Stream< int> - A stream of unread message counts from the native platform.
-
initHippo(
String data) → Future< void> - Initializes the Hippo SDK on the native platform.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openPeerChat(
String peerChatData) → Future< void> - Opens a peer-to-peer chat on the native platform.
-
showConversations(
) → Future< void> - Presents the native view for chat conversations.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ HippoFlutterSdkPlatform
-
The default instance of HippoFlutterSdkPlatform to use.
getter/setter pair