PhoneNative

class PhoneNative(mobileController: MobileController)

Use initialize to initialize the phone setup processes so that the app user's phone is ready to accept mobile keys and downloads any existing mobile keys. Use credentials to retrieve the list of credentials. Use UnlockWithTap functions to start and stop UnlockWithTap scanning.

Constructors

Link copied to clipboard
constructor(mobileController: MobileController)

Types

Link copied to clipboard
class Credentials(mobileController: MobileController)

list retrieves the list of credentials for PhoneNative.credentials.

Link copied to clipboard
class UnlockWithTap(mobileController: MobileController)

Use launch to start UnlockWithTap scanning. Use stop to stop scanning. Use get to retrieve UnlockWithTap instance properties and status.

Properties

Link copied to clipboard

List of relevant credentials.

Link copied to clipboard

An unlock scanning process that enables mobile apps to open granted entrances.

Functions

Link copied to clipboard
suspend fun deactivate(): SeamResult<Unit>

Deactivates the app user's phone. That is, deletes the phone on the backend, all credentials on the phone, the corresponding provider resource, and so on. More permanent than deinitialize.

Link copied to clipboard

Deinitializes the app user's phone. More lightweight than deactivate.

Link copied to clipboard
suspend fun initialize(enableUnlockWithTap: Boolean): SeamResult<Unit>

Initializes the phone setup processes so that the app user's phone is ready to accept mobile keys and downloads any existing mobile keys.

Link copied to clipboard

Retrieves a list of required permissions that the user must grant to your app.