Click or drag to resize
Cimbalino ToolkitDeviceStatusService Class
Represents an implementation of the IDeviceStatusService.
Inheritance Hierarchy
SystemObject
  Cimbalino.Toolkit.ServicesDeviceStatusService

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public class DeviceStatusService : IDeviceStatusService

The DeviceStatusService type exposes the following members.

Constructors
  NameDescription
Public methodDeviceStatusService
Initializes a new instance of the DeviceStatusService class.
Top
Properties
  NameDescription
Public propertyApplicationCurrentMemoryUsage
Gets the memory usage of the current application in bytes.
Public propertyApplicationMemoryUsageLimit
Gets the maximum amount of memory that your application process can allocate.
Public propertyApplicationPeakMemoryUsage
Gets the peak memory usage of the current application in bytes.
Public propertyDeviceFirmwareVersion
Gets the firmware version running on the device.
Public propertyDeviceHardwareVersion
Gets the hardware version running on the device.
Public propertyDeviceManufacturer
Gets the device manufacturer name.
Public propertyDeviceName
Gets the device name.
Public propertyDeviceTotalMemory
Gets the physical RAM size of the device in bytes.
Public propertyIsInPowerSaverMode
Gets the value indicating if the device is in power saver mode.
Public propertyIsKeyboardDeployed
Gets a value indicating whether the user has deployed the physical hardware keyboard of the device.
Public propertyIsKeyboardPresent
Gets a value indicating whether the device contains a physical hardware keyboard.
Public propertyIsLowMemoryDevice
Gets a value indicating whether the device is a low memory device (less than 256 MB of memory installed).
Public propertyPowerSource
Gets the a value indicating whether the device is currently running on battery power or is plugged in to an external power supply.
Public propertyRemainingChargePercent
Gets the a value indicating the percent of the battery remaining on the device
Top
Methods
  NameDescription
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPowerStatusChanged
Occurs when the power status has changed
Top
Extension Methods
  NameDescription
Public Extension MethodAddEventHandler
Adds an event handler to an event source.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodRemoveEventHandler
Removes an event handler from an event source.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also