identity
Module Contents
alltypes
Module Contents
class
IdentityManager
Module Contents
IdentityManager
(
deviceCache
:
DeviceCache
,
subscriberAttributesCache
:
SubscriberAttributesCache
,
backend
:
Backend
)
@Synchronized
fun
configure
(
appUserID
:
String
?
)
:
Unit
fun
createAlias
(
newAppUserID
:
String
,
onSuccess
:
(
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
val
currentAppUserID
:
String
@Synchronized
fun
currentUserIsAnonymous
(
)
:
Boolean
fun
identify
(
appUserID
:
String
,
onSuccess
:
(
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
fun
logIn
(
newAppUserID
:
String
,
onSuccess
:
(
PurchaserInfo
,
Boolean
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
@Synchronized
fun
logOut
(
)
:
PurchasesError
?
@Synchronized
fun
reset
(
)
:
Unit
package
com.revenuecat.purchases.identity
Module Contents
class
IdentityManager
Module Contents
IdentityManager
(
deviceCache
:
DeviceCache
,
subscriberAttributesCache
:
SubscriberAttributesCache
,
backend
:
Backend
)
@Synchronized
fun
configure
(
appUserID
:
String
?
)
:
Unit
fun
createAlias
(
newAppUserID
:
String
,
onSuccess
:
(
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
val
currentAppUserID
:
String
@Synchronized
fun
currentUserIsAnonymous
(
)
:
Boolean
fun
identify
(
appUserID
:
String
,
onSuccess
:
(
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
fun
logIn
(
newAppUserID
:
String
,
onSuccess
:
(
PurchaserInfo
,
Boolean
)
->
Unit
,
onError
:
(
PurchasesError
)
->
Unit
)
:
Unit
@Synchronized
fun
logOut
(
)
:
PurchasesError
?
@Synchronized
fun
reset
(
)
:
Unit