Method | Description | |
---|---|---|
MainViewModel ( ) : System | ||
MainViewModel ( |
Method | Description | |
---|---|---|
CanExecuteLogInCommand ( ) : bool | ||
ConstructPostData ( string email, string password, SupportedGame game ) : string |
Create and encode login POST data
|
|
DialogMessageReceived ( DialogMessage message ) : void | ||
LoadCredentials ( ) : void |
Load stored credentials from phone
|
|
LogIn ( SupportedGame game ) : void | ||
LogInCommandReceived ( ) : void |
Connect to battlelog and verify user credentials
|
|
NotificationMessageReceived ( |
||
ResetControls ( ) : void | ||
SaveCredentials ( ) : void |
Save credentials to phone
|
|
TimerTicked ( object sender, |
Cancel login if it's taking too long
|
public MainViewModel ( |
||
credentialsRepository | ||
return | System |