Interface IAccountPickerSystem
Provides access to a system prompt for signing in or selecting an account.
Namespace: Unity.PlatformToolkit
Assembly: Unity.PlatformToolkit.dll
Syntax
public interface IAccountPickerSystem
Remarks
Use AccountPicker capability to check if account picker is supported.
Methods
Show()
Shows a system prompt for signing in or selecting an account.
Declaration
Task<IAccount> Show()
Returns
| Type | Description |
|---|---|
| Task<IAccount> | Task which represents the lifetime of the account picker prompt. TResult contains the selected IAccount. |
Remarks
If a previously signed out account is selected, the account will be signed in.
Exceptions
| Type | Condition |
|---|---|
| UserRefusalException | User has canceled the account picker prompt. |