disconnect

abstract suspend fun disconnect(): SidewalkResult<Unit>

Close the connection with the Amazon Sidewalk device.

Return

SidewalkResult.Success if the connection is disconnected successfully; otherwise SidewalkResult.Failure with the failure cause.