MoveShutdownResult
A result for the shutdown function with force: false.
enum class MoveShutdownResult {
SUCCESS,
NETWORK_ERROR,
UNINITIALIZED;
}public enum MoveShutdownResult {
case success
case networkError
case uninitialized
}import 'package:movesdk/io/dolphin/move/move_shutdown_result.dart';// Some codeenum MoveShutdownResult {
success,
networkError,
uninitialized,
}export declare type ShutdownReturnType = 'NETWORK_ERROR' | 'SUCCESS' | 'UNINITIALIZED';Error results will be returned with a rejected promise.
MoveShutdownResult
success
The shutdown completed.
networkError
Pending data in the queue could not be sent to the backend.
shutdown(force: false): SDK remains active and does not shut down. Retry later.shutdown(force: true): SDK shuts down regardless. Pending data is lost.
uninitialized
The SDK was not setup. No user active.
Last updated