The BuddyClient type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BuddyClient |
Initializes a new instance of the BuddyClient class. To get an application username and password, go to http://buddy.com, create a new
developer account and create a new application.
|
Methods
| Name | Description | |
|---|---|---|
| CheckIfEmailExistsAsync |
Check if another user with the same email already exists in the system.
| |
| CheckIfUsernameExistsAsync |
Check if another user with the same name already exists in the system.
| |
| CreateUserAsync |
Create a new Buddy user. Note that this method internally does two web-service calls, and the IAsyncResult object
returned is only valid for the first one.
| |
| EndSessionAsync | ||
| Equals | (Inherited from Object.) | |
| GetApplicationStatisticsAsync |
This method will return a list of statistics for the application covering items such as total users, photos, etc.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetServiceErrorsAsync |
Get a list of the most recent service errors.
| |
| GetServiceTimeAsync |
Get the current Buddy web-service date/time.
| |
| GetServiceVersionAsync |
Get the current version of the service that is being used by this SDK.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUserEmailsAsync |
Gets a list of emails for all registered users for this app.
| |
| LoginAsync(Action<(Of <<'(AuthenticatedUser, BuddyCallbackParams>)>>), String, Object) |
Login an existing user with their secret token. Each user is assigned a token on creation, you can store it instead of a
username/password combination.
| |
| LoginAsync(Action<(Of <<'(AuthenticatedUser, BuddyCallbackParams>)>>), String, String, Object) |
Login an existing user with their username and password. Note that this method internally does two web-service calls, and the IAsyncResult object
returned is only valid for the first one.
| |
| PingAsync |
Ping the service.
| |
| RecordSessionMetricAsync | ||
| StartSessionAsync |
Starts an analytics session
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| CheckIfEmailExists | (Defined by BuddyClientTaskWrappers.) | |
| CheckIfUsernameExists | (Defined by BuddyClientTaskWrappers.) | |
| CreateUser | (Defined by BuddyClientTaskWrappers.) | |
| EndSession | (Defined by BuddyClientTaskWrappers.) | |
| GetApplicationStatistics | (Defined by BuddyClientTaskWrappers.) | |
| GetServiceErrors | (Defined by BuddyClientTaskWrappers.) | |
| GetServiceTime | (Defined by BuddyClientTaskWrappers.) | |
| GetServiceVersion | (Defined by BuddyClientTaskWrappers.) | |
| GetUserEmails | (Defined by BuddyClientTaskWrappers.) | |
| Login(String, Object) | Overloaded. (Defined by BuddyClientTaskWrappers.) | |
| Login(String, String, Object) | Overloaded. (Defined by BuddyClientTaskWrappers.) | |
| Ping | (Defined by BuddyClientTaskWrappers.) | |
| RecordSessionMetric | (Defined by BuddyClientTaskWrappers.) | |
| StartSession | (Defined by BuddyClientTaskWrappers.) |
Properties
| Name | Description | |
|---|---|---|
| AppName |
Gets the application name for this client.
| |
| AppPassword |
Gets the application password for this client.
| |
| AppVersion |
Gets the optional string that describes the version of the app you are building. This string is used when uploading
device information to buddy or submitting crash reports. It will default to 1.0.
| |
| Device |
Gets an object that can be used to record device information about this client or upload crashes.
| |
| GameBoards |
Gets an object that can be used to retrieve high score rankings or search for game boards in this application.
| |
| Metadata |
Gets an object that can be used to manipulate application-level metadata. Metadata is used to store custom values on the platform.
| |
| Service |
Gets the SOAP BuddyServiceClient.
|