FlutterGrouplinkSdkPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterGrouplinkSdkPlatform
Implementers

Constructors

FlutterGrouplinkSdkPlatform()
Constructs a FlutterGrouplinkSdkPlatform.

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

askForAutoStartPermissionAndroid() Future<void>
checkBluetooth() Future<void>
Checks if Bluetooth is enabled on the device.
getNotificationName() Future<void>
Retrieves the name of the notification.
getPlatformVersion() Future<void>
Retrieves the platform version of the Grouplink SDK.
getUserId() Future<String?>
Retrieves the user ID associated with the Grouplink SDK. This method returns a Future that resolves to the user ID as a String.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPermissionsGranted() Future<void>
Called when the necessary permissions for the Grouplink SDK are granted. This method is typically called after the user has granted permissions for location and Bluetooth.
requestFullscreenIntentPermission() Future<void>
Requests permission for fullscreen intent. This is typically used on Android to allow the app to display notifications in fullscreen mode. It is important to ensure that the user grants this permission for the app to function correctly
requestScheduleExactAlarm() Future<void>
Requests permission to schedule exact alarms. This is typically used on Android to allow the app to schedule alarms that trigger at specific times.
requestSystemAlertWindowAndroid() Future<void>
setNotificationName(String notificationName) Future<void>
Sets the name for the notification. This method allows customization of the notification name that will be displayed to the user.
setNotificationResId(int notificationResId) Future<void>
Sets the resource ID for the notification
setNotificationToken(String token) Future<void>
Sets the notification token for the Grouplink SDK.
setUserIdListenerAndroid() Future<void>
startBluetooth() Future<void>
Starts the Bluetooth services for the Grouplink SDK. This method is used to enable Bluetooth functionality. It is important to ensure that the necessary permissions are granted before calling this method. This method is typically called after the SDK has been initialized.
startLocation() Future<void>
Starts the location services for the Grouplink SDK. This method is used to enable location tracking. It is important to ensure that the necessary permissions are granted before calling this method. This method is typically called after the SDK has been initialized.
startSDK(String token) Future<void>
Starts the Grouplink SDK with the provided token.
startSDKAndroid(String token) Future<void>
Starts the Grouplink SDK specifically for Android with the provided token. This method is used to initialize the SDK on Android devices.
startSDKiOS(String token) Future<void>
Starts the Grouplink SDK specifically for iOS with the provided token. This method is used to initialize the SDK on iOS devices.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterGrouplinkSdkPlatform
The default instance of FlutterGrouplinkSdkPlatform to use.
getter/setter pair