Table of Contents

Class AndroidDeviceInfo

Namespace
Ranorex.Core.Remoting.Data
Assembly
Ranorex.Core.dll

Holds android device system information.

public class AndroidDeviceInfo : DeviceInfo
Inheritance
AndroidDeviceInfo
Inherited Members

Constructors

AndroidDeviceInfo()

public AndroidDeviceInfo()

Properties

AirplaneMode

True if device is in AirplaneMode

public bool AirplaneMode { get; set; }

Property Value

bool

AndroidSDKVerison

The user-visible SDK version of the framework in its raw String representation. E.g. "16"

public string AndroidSDKVerison { get; set; }

Property Value

string

AndroidVersionName

The user-visible version string. E.g., "4.1.2".

public string AndroidVersionName { get; set; }

Property Value

string

BatteryLevelPercent

Device battery level as percent. E.g. "98.0"

public float BatteryLevelPercent { get; set; }

Property Value

float

BluetoothEnabled

True if bluetooth is enabled on the device.

public bool BluetoothEnabled { get; set; }

Property Value

bool

Brand

Device brand. E.g. "Google"

public string Brand { get; set; }

Property Value

string

ChargingByAC

True if device is charging by AC.

public bool ChargingByAC { get; set; }

Property Value

bool

ChargingByUsb

True if device is charging by USB.

public bool ChargingByUsb { get; set; }

Property Value

bool

Fingerprint

A string that uniquely identifies this build.

public string Fingerprint { get; set; }

Property Value

string

GPSEnabled

True if GPS is enabled on the device.

public bool GPSEnabled { get; set; }

Property Value

bool

IsCharging

True if the device is charging by AC or USB

public bool IsCharging { get; set; }

Property Value

bool

MacAddress

Mac address of the device.

public string MacAddress { get; set; }

Property Value

string

Manufacturer

Device manufacturer. E.g. "Samsung"

public string Manufacturer { get; set; }

Property Value

string

NetworkInterfaces

List of all network interfaces on the device.

[IgnoreInDeviceInfoToString]
public List<string> NetworkInterfaces { get; set; }

Property Value

List<string>

WiFiBSSID

BSSID (BAsic Service Set Identifier) of the wifi network.

public string WiFiBSSID { get; set; }

Property Value

string

WiFiSSID

SSID (Service Set Identifier) of the wifi network.

public string WiFiSSID { get; set; }

Property Value

string

WifiEnabled

True if Wifi is enabled on the device.

public bool WifiEnabled { get; set; }

Property Value

bool

Methods

ToString()

Converts all device properties to displayable form.

public override string ToString()

Returns

string

All device properties as string