unregisterUser

fun unregisterUser(context: Context, data: String, listener: UserRegistrationListener)

UnRegisters the User

Note: This API should be called only if user is registered successfully at some point using registerUser

Since

12.7.00

Parameters

context

instance of Context

data

JWToken string

listener

Throws

if the SDK is not initialised


fun unregisterUser(context: Context, appId: String, data: String, listener: UserRegistrationListener)

UnRegisters the User

Note: This API should be called only if user is registered successfully at some point using registerUser

Since

12.7.00

Parameters

context

instance of Context

appId

your app ID

data

JWToken string

listener

Throws

if the SDK is not initialised