Sidewalk
class Sidewalk(context: Context, authProvider: SidewalkAuthProvider, deregisterStrategy: DeregisterStrategy = DeregisterStrategy.DEFAULT)
Main entry point to the Sidewalk Mobile SDK.
Parameters
context
Android context
auth Provider
Authentication token provider
deregister Strategy
Configurable parameters for de-registration flow
Constructors
Link copied to clipboard
fun Sidewalk(context: Context, authProvider: SidewalkAuthProvider, deregisterStrategy: DeregisterStrategy = DeregisterStrategy.DEFAULT)
Types
Functions
Link copied to clipboard
Clear user related data, this method should be called explicitly by host app when the account credential is no longer available, like user logged out.
Link copied to clipboard
Deregister a device from Sidewalk network.
Link copied to clipboard
Register a device with the Sidewalk backend through the BLE secure connection.
Register a device with the Sidewalk backend. If a SidewalkConnection has been established with the device before registration, use register(SidewalkConnection) instead.
Link copied to clipboard
suspend fun remoteCertificateProvisioningAuthenticate(request: CertificateSigningRequest): AuthenticateRemoteDeviceResult
Authenticate existing devices already in the field onto Sidewalk network.
Link copied to clipboard
Starts scanning for Sidewalk devices via Bluetooth.
Link copied to clipboard
Securely connects to a given Sidewalk device.