ConnectedDevicesAccount Class
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. ConnectedDevicesAccount
- com.
public class ConnectedDevicesAccount
This class represents a single user account known by an app.
Constructor Summary
Constructor | Description |
---|---|
ConnectedDevicesAccount(@NonNull String id, @NonNull ConnectedDevicesAccountType type) |
Creates and initializes a new instance of this class with an ID string and account type definition. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Connected |
getAnonymousAccount()
Returns the singleton instance of the Anonymous account. |
String |
getId()
Gets the unique identifier for this user account. |
Connected |
getType()
Gets the type of account. |
Constructor Details
ConnectedDevicesAccount
public ConnectedDevicesAccount(@NonNull String id, @NonNull ConnectedDevicesAccountType type)
Creates and initializes a new instance of this class with an ID string and account type definition.
Parameters:
Method Details
getAnonymousAccount
public static ConnectedDevicesAccount getAnonymousAccount()
Returns the singleton instance of the Anonymous account.
Returns:
ConnectedDevicesAccount
getId
public String getId()
Gets the unique identifier for this user account.
Returns:
getType
public ConnectedDevicesAccountType getType()
Gets the type of account.
Returns: