Classes

The following classes are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public class DefaultDeregisterStrategy : DeregisterStrategy
  • Main entry point to the Amazon Sidewalk Mobile SDK.

    Provides access to Amazon Sidewalk device and the Amazon Sidewalk network for registration, secure connection, deregistration, and clear account cache.

    See more

    Declaration

    Swift

    public class Sidewalk
  • Represents a BLE connection with an Amazon Sidewalk device.

    This class is created when the Amazon Sidewalk Mobile SDK is able to create a secure connection with an Amazon Sidewalk device.

    The connection might be terminated by Amazon Sidewalk device if no traffic for an amount of time to prevent BLE resources occupation. The time is configurable by Amazon Sidewalk device.

    Before releasing SidewalkConnection object, you should make sure the ongoing operation like startCoverageTest is properly cancelled by calling cancel() on the corresponding SidewalkCancellable object and waiting for the corresponding completion closure to be invoked. Otherwise, cancel() operation may be interrupted since the connection with Amazon Sidewalk device is disconnected.

    Note

    This object automatically disconnects when deinitialized.
    See more

    Declaration

    Swift

    public class SidewalkConnection