Device Class AndroidLib - Beatsleigher Edition
Manages connected Android device's info and commands
Inheritance Hierarchy

SystemObject
  RegawMOD.AndroidDevice

Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax

public class Device

The Device type exposes the following members.

Constructors

  NameDescription
Protected methodDevice
Initializes a new instance of the Device class
Top
Methods

  NameDescription
Public methodEquals
Checks if the given parameter is equal to this object. Namely, if the param is a string, it will check if the given param is equal to SerialNumber. If, however, the param is another Device object, it will check if that device's SerialNumber is the same as this object's. Should the param be neither string, nor Device, it will return false.
(Overrides ObjectEquals(Object).)
Public methodFastbootReboot
Reboots the device regularly from fastboot
Private methodFastbootRebootThread
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 (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInstallApk
Installs an application from the local computer to the Android device
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPullDirectory
Pulls a full directory recursively from the device
Public methodPullFile
Pulls a file from the device
Public methodPushFile
Pushes a file to the device
Public methodReboot
Reboots the device regularly
Public methodRebootBootloader
Reboots the device into the bootloader
Private methodRebootBootloaderThread
Public methodRebootRecovery
Reboots the device into recovery
Private methodRebootRecoveryThread
Private methodRebootThread
Protected methodSetState
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates all values in current instance of Device
Top
Fields

  NameDescription
Private fieldactivityManager
Private fieldbattery
Private fieldbuildProp
Private fieldbusyBox
Private fieldfileSystem
Private fieldpackageManager
Private fieldphone
Private fieldserialNumber
Protected fieldstate
Private fieldsu
Top
Properties

  NameDescription
Public propertyActivityManager
Gets the activity manager.
Public propertyBattery
Gets the device's BatteryInfo instance
Public propertyBuildProp
Gets the device's BuildProp instance
Public propertyBusyBox
Gets the device's BusyBox instance
Public propertyFileSystem
Gets the device's FileSystem instance
Public propertyHasRoot
Gets a value indicating if the device has root
Public propertyPackageManager
Public propertyPhone
Gets the device's Phone instance
Public propertySerialNumber
Gets the device's serial number
Public propertyState
Gets a value indicating the device's current state
Public propertySu
Gets the device's Su instance
Top
See Also

Reference