DeviceStatusService Class |
Namespace: Cimbalino.Toolkit.Services
public class DeviceStatusService : IDeviceStatusService
The DeviceStatusService type exposes the following members.
Name | Description | |
---|---|---|
DeviceStatusService |
Initializes a new instance of the DeviceStatusService class.
|
Name | Description | |
---|---|---|
ApplicationCurrentMemoryUsage |
Gets the memory usage of the current application in bytes.
| |
ApplicationMemoryUsageLimit |
Gets the maximum amount of memory that your application process can allocate.
| |
ApplicationPeakMemoryUsage |
Gets the peak memory usage of the current application in bytes.
| |
DeviceFirmwareVersion |
Gets the firmware version running on the device.
| |
DeviceHardwareVersion |
Gets the hardware version running on the device.
| |
DeviceManufacturer |
Gets the device manufacturer name.
| |
DeviceName |
Gets the device name.
| |
DeviceTotalMemory |
Gets the physical RAM size of the device in bytes.
| |
IsInPowerSaverMode |
Gets the value indicating if the device is in power saver mode.
| |
IsKeyboardDeployed |
Gets a value indicating whether the user has deployed the physical hardware keyboard of the device.
| |
IsKeyboardPresent |
Gets a value indicating whether the device contains a physical hardware keyboard.
| |
IsLowMemoryDevice |
Gets a value indicating whether the device is a low memory device (less than 256 MB of memory installed).
| |
PowerSource |
Gets the a value indicating whether the device is currently running on battery power or is plugged in to an external power supply.
| |
RemainingChargePercent |
Gets the a value indicating the percent of the battery remaining on the device
|
Name | Description | |
---|---|---|
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
PowerStatusChanged |
Occurs when the power status has changed
|
Name | Description | |
---|---|---|
AddEventHandler |
Adds an event handler to an event source.
(Defined by ObjectExtensions.) | |
GetPropertyValue(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
GetPropertyValueTObject(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
InvokeMethod(String, Object) | Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.) | |
InvokeMethodTObject(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.) | |
RemoveEventHandler |
Removes an event handler from an event source.
(Defined by ObjectExtensions.) | |
SetPropertyValueTObject |
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.) |