Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
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 moreDeclaration
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 likestartCoverageTest
is properly cancelled by callingcancel()
on the correspondingSidewalkCancellable
object and waiting for the correspondingcompletion
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.Declaration
Swift
public class SidewalkConnection