Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSCore/login

login

[androidJvm]\ open fun login(@NullableuserID: String, @NonNullapiKey: String, @NullableipsDomain: String, @Nullablelistener: IPSLoginListener)

This method performs the login operation. A login is required to perform any IPS operation and must be the first call after launching an application (or after logout). Interaction with the IPS mechanism will be possible only after receiving the onLogin response. Current login status can be obtained by calling getLoggedInUser.

Since

2.2.0

Parameters

androidJvm

userID A unique identifier which (non-personally identifiable) represents each signed-in user to enable analysis of sessions across devices. This ID is most often provided by an authentication system.
apiKey your user API key as provided by Oriient.
ipsDomain your IPS name as provided by Oriient.
listener a listener for receiving the login operation response.

[androidJvm]\ open fun login(@NullableuserID: String, @NonNullapiKey: String, @NullableipsDomain: String, @NonNulldeviceId: String, @Nullablelistener: IPSLoginListener)

This method performs the login operation. A login is required to perform any IPS operation and must be the first call after launching an application (or after logout). Interaction with the IPS mechanism will be possible only after receiving the onLogin response. Current login status can be obtained by calling getLoggedInUser. This login variant receives unique id for current device. Used for cloud state saving/restoring.

Since

9.9.0

Parameters

androidJvm

userID A unique identifier which (non-personally identifiable) represents each signed-in user to enable analysis of sessions across devices. This ID is most often provided by an authentication system.
apiKey your user API key as provided by Oriient.
ipsDomain your IPS name as provided by Oriient.
deviceId unique ID for this device.
listener a listener for receiving the login operation response.

[androidJvm]\ open fun login(@NonNullapiKey: String, @Nullablelistener: IPSLoginListener)

This method performs the login operation. A login is required to perform any IPS operation and must be the first call after launching an application (or after logout). Interaction with the IPS mechanism will be possible only after receiving the onLogin response. Current login status can be obtained by calling getLoggedInUser.

Since

2.10.0

Parameters

androidJvm

apiKey your user API key as provided by Oriient.
listener a listener for receiving the login operation response.