MethodChannelSilent class
An implementation of SilentPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SilentPlatform
- MethodChannelSilent
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
capture(
{required String uid, required String loadId}) → Future -
capture push data captured
uidUnique identifier of the client logged into the app. Through this field it is possible to relate to which customer the captured data belongs. This identifier is provided by Mintech client.inherited -
initialize(
{required String appId, required String appSecret, required String packageName}) → Future -
Returns true if the Silent SDK is initialized
inherited
-
isValidated(
) → Future< bool> -
Is the API key provided to this state valid with the Silent SDK ?
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestContacts(
) → Future -
requestContacts Ask for permission to get contacts of user
Returns true if permission is given
inherited
-
requestLocation(
) → Future -
requestLocation Ask for permission to get location of user
Returns true if permission is given
inherited
-
requestTelephony(
) → Future -
requestTelephony Ask for permission to get information about your device
Returns true if permission is given
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited