register

fun register(context: Context, account: UserAccount?)

Initiates push registration, if the application is not already registered. Otherwise, this method initiates registration/re-registration to the SFDC endpoint, in order to keep it alive, or to register a new account that just logged in.

Parameters

context

Context.

account

User account.


fun register(context: Context, account: UserAccount?, recreateKey: Boolean)

Initiates push registration, if the application is not already registered. Otherwise, this method initiates registration/re-registration to the SFDC endpoint, in order to keep it alive, or to register a new account that just logged in.

Parameters

context

Context.

account

User account.

recreateKey

true if RSA key should be regenerated