HyperSnapSDK class
HyperSnapSDK is used to initial the sdk, to config the sdk, and to manage user sessions
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
endUserSession(
) → dynamic - Ends the user session if any session is active.
-
initialize(
String appId, String appKey, Region region) → Future< String> - Initializes the HyperSnap SDK inside the client's application.
-
initializeWithToken(
String appId, String accessToken, Region region) → Future< String> - Initializes the HyperSnap SDK with an access token inside the client's application.
-
isInitialised(
) → Future< bool> - Checks if HyperSnapSDK is initialised successfully or not - Useful in Android Platform only
-
setHyperSnapSDKConfig(
{required HyperSnapSDKConfig hyperSnapSDKConfig}) → dynamic - Sets the configuration options for the HyperSnap SDK.
-
sortJSONKeysAlphabetically(
Map map) → Future< String> - Sorts the keys of the response object alphabetically.
-
startUserSession(
String userID) → Future< bool> - Starts the user session in the application.