Click or drag to resize
Ranorex

AndroidDeviceInfo Class

Holds android device system information.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.Remoting.DataDeviceInfo
    Ranorex.Core.Remoting.DataAndroidDeviceInfo

Namespace:  Ranorex.Core.Remoting.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class AndroidDeviceInfo : DeviceInfo

The AndroidDeviceInfo type exposes the following members.

Constructors
  NameDescription
Public methodAndroidDeviceInfo
Initializes a new instance of the AndroidDeviceInfo class
Top
Properties
  NameDescription
Public propertyAirplaneMode
True if device is in AirplaneMode
Public propertyAndroidSDKVerison
The user-visible SDK version of the framework in its raw String representation. E.g. "16"
Public propertyAndroidVersionName
The user-visible version string. E.g., "4.1.2".
Public propertyBatteryLevelPercent
Device battery level as percent. E.g. "98.0"
Public propertyBluetoothEnabled
True if bluetooth is enabled on the device.
Public propertyBrand
Device brand. E.g. "Google"
Public propertyChargingByAC
True if device is charging by AC.
Public propertyChargingByUsb
True if device is charging by USB.
Public propertyFingerprint
A string that uniquely identifies this build.
Public propertyGPSEnabled
True if GPS is enabled on the device.
Public propertyIsCharging
True if the device is charging by AC or USB
Public propertyMacAddress
Mac address of the device.
Public propertyManufacturer
Device manufacturer. E.g. "Samsung"
Public propertyNetworkInterfaces
List of all network interfaces on the device.
Public propertyWiFiBSSID
BSSID (BAsic Service Set Identifier) of the wifi network.
Public propertyWifiEnabled
True if Wifi is enabled on the device.
Public propertyWiFiSSID
SSID (Service Set Identifier) of the wifi network.
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
Converts all device properties to displayable form.
(Overrides DeviceInfoToString.)
Top
See Also