DeregisterStrategy

public protocol DeregisterStrategy : AnyObject

Deregistration strategy to set configurable parameters for de-registration flow. Optional with default value DefaultDeregisterStrategy.

  • resetTimeout() Default implementation

    The expected duration of Amazon Sidewalk device completing factory reset after receiving RESET command.

    Amazon Sidewalk Mobile SDK scans for the device for the given time, and returns success if the Amazon Sidewalk device is found in OOBE mode, otherwise returns failure.

    Note

    The range for reset timeout should be within the range of [3, 60] seconds. Default implementation returns 3.

    Default Implementation

    Default reset timout interval for scanning after device factory reset set to 3 seconds.

    Declaration

    Swift

    func resetTimeout() -> TimeInterval

    Return Value

    The expected waiting time in seconds.