Dolphin MOVE SDK
2.x
2.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
        • Access Control
        • Configuration
        • Timeline
        • Points of Interest
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
        • Troubleshooting
      • React Native
      • Flutter
      • Move SDK CLI
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Setup
        • Services
      • React Native
        • Components
        • Initialization
        • Services
      • Flutter
        • Initialization
        • Services
    • Models
      • Listeners/Callbacks
      • MoveAssistanceCallStatus
      • MoveAuth
      • MoveAuthError
      • MoveAuthResult
      • MoveAuthState
      • MoveConfig
      • MoveConfigurationError
      • MoveDevice
      • MoveDeviceStatus
      • MoveGeocodeError
      • MoveHealthItem
      • MoveHealthScore
      • MoveOptions
        • DeviceDiscovery
      • MoveSdkState
      • MoveSdkAndroidConfig
      • MoveTripState
      • MoveScanResult
      • MoveServiceFailure
      • MoveServiceWarning
      • MoveShutdownResult
    • Appendix
      • Token refresh
      • Android
        • Permission Handling
          • Permission Overview
          • Runtime Permissions
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
      • React Native
        • Permission Handling
  • MOVE Backend
    • MOVE Backend
      • MOVE Admin API
      • MOVE TIMELINE API
      • MOVE State API
      • MOVE Last Location API
    • MOVE Generic Notifier
    • MOVE Assistance Notifier
    • Example requests
  • FAQ
  • Changelog
    • Android
    • iOS
    • React
    • Flutter
    • Backend
  • Data privacy (GDPR)
Powered by GitBook
On this page
  1. MOVE SDK
  2. Models
  3. MoveOptions

DeviceDiscovery

MOVE Models

PreviousMoveOptionsNextMoveSdkState

Last updated 10 months ago

Since MOVE SDK v2.4

Please note that MoveDevices can only be registered if the SDK has been configured with .setup()

data class DeviceDiscovery(
    val startDelay: Long?,
    val duration: Long?,
    val interval: Long?,
    val stopScanOnFirstDiscovered: Boolean = false,
)
public struct DeviceDiscovery {
    public var startDelay: TimeInterval = 120
    public var interval: TimeInterval = 300
    public var duration: TimeInterval = 10
    public var stopScanOnFirstDiscovered: Bool = false
}
export type MoveSdkDeviceDiscovery = {
  startDelay?: number;
  duration?: number;
  interval?: number;
  stopScanOnFirstDiscovered?: boolean;
};
import 'package:movesdk/io/dolphin/move/device_discovery_options.dart';
class DeviceDiscoveryOptions {
  int? startDelay;
  int? duration;
  int? interval;
  bool? stopScanOnFirstDiscovered;
}

DeviceDiscovery

Type

Default

startDelay

Number

120

Device discovery delay from start of the trip.

duration

Number

10

Device discovery scan duration.

interval

Number

300

Device discovery repeat interval.

stopScanOnFirstDiscovered

Boolean

false

Stop detection on first device discovered.

DeviceDiscovery related

.setup(..., options:...)

During setup it is possible to add DeviceDiscovery options to the MOVE SDK.

Device Discovery Listener ( / )

Fired when previous registered 's are scanned.

MoveOptions
MoveDevice
iOS
Android