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
androidContext
Android activity context.
clientSessionToken
Client session token generated to authenticate your app user.
eventHandler
SeamEventHandler to handle the following SeamEvent types: