Interface ICapabilities
Capabilities system specifies what capabilities are available in the current implementation.
Namespace: Unity.PlatformToolkit
Assembly: Unity.PlatformToolkit.dll
Syntax
public interface ICapabilities
Properties
AccountAchievements
Indicates, if accounts support achievements.
Declaration
bool AccountAchievements { get; }
Property Value
| Type | Description |
|---|---|
| bool |
AccountManualSignOut
Indicates if account can be manually signed out by calling SignOut().
Declaration
bool AccountManualSignOut { get; }
Property Value
| Type | Description |
|---|---|
| bool |
AccountPicker
Indicates, if account picker is supported.
Declaration
bool AccountPicker { get; }
Property Value
| Type | Description |
|---|---|
| bool |
AccountSaving
Indicates, if accounts support saving.
Declaration
bool AccountSaving { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Accounts
Indicates, if accounts are supported.
Declaration
bool Accounts { get; }
Property Value
| Type | Description |
|---|---|
| bool |
InputOwnership
Indicates, if input ownership is supported.
Declaration
bool InputOwnership { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LocalSaving
Indicates, if LocalSaving is supported.
Declaration
bool LocalSaving { get; }
Property Value
| Type | Description |
|---|---|
| bool |
PrimaryAccount
Indicates, if the primary account is supported.
Declaration
bool PrimaryAccount { get; }
Property Value
| Type | Description |
|---|---|
| bool |
PrimaryAccountEstablishLimited
Indicates, if platform has limits on calling Establish().
Declaration
bool PrimaryAccountEstablishLimited { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
On platforms where the value is true, it's recommended to treat accounts as optional.
On platforms where the value is false, it's safe to repeatedly call Establish() until player signs in.