Click or drag to resize
ParticleDevice Class
Represents a Device like the Core, Photon or Electron
Inheritance Hierarchy

Namespace: Particle
Assembly: Particle (in Particle.dll) Version: 0.8.5.14 (0.8.5.14)
Syntax
public class ParticleDevice : ParticleBase

The ParticleDevice type exposes the following members.

Constructors
  NameDescription
Protected methodParticleDevice
Initializes a new instance of the ParticleDevice class.
Top
Properties
  NameDescription
Public propertyCellular
Does this device have a cellular connection.
Public propertyConnected
Gets a value indicating whether this ParticleDevice is connected.
Public propertyCurrentBuildTarget
The Current Build Target
Public propertyDeviceType
Gets the type of the device.
Public propertyFunctions
Gets the functions for this device. Be sure to call RefreshAsync to refresh this list.
Public propertyId
Gets the identifier.
Public propertyIMEI
IMEI number if Electron
Public propertyIsRefreshing
Gets or sets a value indicating whether this device is refreshing.
Public propertyLastApp
Gets the last application flashed to the core
Public propertyLastHeard
Gets the last heard date.
Public propertyLastICCID
Last SIM card ID used if an Electron
Public propertyLastIPAddress
Gets the last IP address the Device was connected with
Public propertyName
The name of the core
Public propertyPlatformId
The PlatformId for the ParticleDevice
Public propertyStatus
The Status of the device
Public propertyVariables
Gets the variables defined for this device. Be sure to call RefreshAsync to refresh this list.
Top
Methods
  NameDescription
Public methodCallFunctionAsync
Calls the function asynchronous.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFirePropertyChanged
Fires the property changed.
(Inherited from ParticleBase.)
Public methodFlashExampleAppAsync
Flashes the example application asynchronous.
Public methodFlashKnownAppAsync
Flashes a known application to a device.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVariableValueAsync(String)
Gets the variable value asynchronous for the provided variable name.
Public methodGetVariableValueAsync(Variable)
Gets the variable value asynchronous for the provided variable.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodParseFunctions
Parses the functions.
Protected methodParseObject
Parses the JSon Object representing a particle device
Protected methodParseVariables
Parses the variables.
Public methodRefreshAsync
Refreshes the device from the cloud.
Public methodRenameAsync
Renames the Device.
Protected methodSetPropertyT
Sets the property and fires
(Inherited from ParticleBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnclaimAsync
Unclaims the Device asynchronous.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when [property changed].
(Inherited from ParticleBase.)
Top
See Also