ParticleCloud Class |
Namespace: Particle
The ParticleCloud type exposes the following members.
Name | Description | |
---|---|---|
![]() | ParticleCloud |
Initializes a new instance of the ParticleCloud class using the default url https://api.particle.io/v1/
|
![]() | ParticleCloud(Uri) |
Initializes a new instance of the ParticleCloud class.
|
Name | Description | |
---|---|---|
![]() | AccessToken |
Gets the users Access token or returns null if the user not authenticated.
|
![]() | IsAuthenticated |
True if the user is authenticated into the cloud
|
![]() ![]() | SyncContext |
Set this to the UI threads SynchronizationContext
Any operation that may update the UI gets sent through the SyncContext if its null the operation is executed on the current thread
i.e. for Universal App set this to ParticleCloud.SyncContext = System.Threading.SynchronizationContext.Current; in the App.xaml.cs inside the OnLaunch function
|
![]() | YourEventUri |
Gets the uri to the users Events. Usally https://api.particle.io/v1/devices/events
|
Name | Description | |
---|---|---|
![]() | ClaimDeviceAsync |
Claims the specified device for the logged in user
|
![]() | Dispose |
Releases unmanaged and - optionally - managed resources mainly the underlining HttpClient
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FirePropertyChanged |
Fires the property changed.
(Inherited from ParticleBase.) |
![]() | GetDevicesAsync |
Get the list of devices the user has access to
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoginWithUserAsync |
Logs into ParticleCloud with the given username and password
|
![]() | Logout |
Logs the user out locally
|
![]() | MakeDeleteRequestAsync |
Makes the delete request asynchronous to the particle cloud
|
![]() | MakeDeleteRequestWithAuthTestAsync |
Calls and if it returns a status code of Unauthorized try s to refresh the token and makes the request again
|
![]() | MakeGetRequestAsync |
Makes the get request asynchronous to the cloud api
|
![]() | MakeGetRequestWithAuthTestAsync |
Calls and if it returns a status code of Unauthorized try s to refresh the token and makes the request again
|
![]() | MakePostRequestAsync |
Makes the post request asynchronous to the particle cloud
|
![]() | MakePostRequestWithAuthTestAsync |
Calls and if it returns a status code of Unauthorized try s to refresh the token and makes the request again
|
![]() | MakePostRequestWithoutAuthAsync |
Makes the post request without authentication asynchronous to the particle cloud.
|
![]() | MakePutRequestAsync |
Makes the put request asynchronous to the particle cloud
|
![]() | MakePutRequestWithAuthTestAsync |
Calls and if it returns a status code of Unauthorized try s to refresh the token and makes the request again
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RefreshTokenAsync |
Refreshes the access token asynchronous.
|
![]() | RequestPasswordResetAsync |
Requests the password be reset.
|
![]() | SetPropertyT |
Sets the property and fires (Inherited from ParticleBase.) |
![]() | SignupWithUserAsync |
Sign up with new account credentials to Particle cloud
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | PropertyChanged |
Occurs when [property changed].
(Inherited from ParticleBase.) |