Seam

class Seam(androidContext: Context, clientSessionToken: String? = null, eventHandler: <Error class: unknown class> = {}, androidDeviceInfo: IAndroidDeviceInfo? = null, apiToken: String? = null, basicAuth: String? = null, baseUrl: String = "https://connect.getseam.com")

Base class for the Seam mobile client.

Initialize the Seam mobile client with a clientSessionToken that you generated for your app user. Also, include the androidContext.

That is, first, use the Seam API to create a user identity that corresponds to the app user account using your internal user ID or other identifying information. Then, using the user identity, create a client session and capture the resulting client session token. Use this token to authenticate your app user.

Parameters

Constructors

Link copied to clipboard
constructor(androidContext: Context, clientSessionToken: String? = null, eventHandler: <Error class: unknown class> = {}, androidDeviceInfo: IAndroidDeviceInfo? = null, apiToken: String? = null, basicAuth: String? = null, baseUrl: String = "https://connect.getseam.com")

Creates a Seam mobile client.

Properties

Link copied to clipboard

Client session token generated to authenticate your app user.

Link copied to clipboard
val mobileController: MobileController
Link copied to clipboard

The app user's phone.