ICurrentAccountResult Interface

public interface ICurrentAccountResult

Method Summary

Modifier and Type Method and Description
boolean didAccountChange()

Indicates whether the current account has changed since last checked. If changed you can access the prior and current acocunts to perform necessary clean up within the UX.

IAccount getCurrentAccount()

Returns the current account signed into the app or in the case of shared device mode. Signed into the device

IAccount getPriorAccount()

If the current signed in account changed as a result of being removed from the device, returns the prior account signed into the app or in the case of shared device mode. Signed into the device

Method Details

didAccountChange

public boolean didAccountChange()

Indicates whether the current account has changed since last checked. If changed you can access the prior and current acocunts to perform necessary clean up within the UX.

getCurrentAccount

public IAccount getCurrentAccount()

Returns the current account signed into the app or in the case of shared device mode. Signed into the device

Returns:

IAccount

getPriorAccount

public IAccount getPriorAccount()

If the current signed in account changed as a result of being removed from the device, returns the prior account signed into the app or in the case of shared device mode. Signed into the device

Returns:

IAccount

Applies to