ডিভাইস বর্ণনাকারী

public class DeviceDescriptor
extends Object

java.lang.অবজেক্ট
com.android.tradefed.command.remote.DeviceDescriptor


পরীক্ষার অধীনে থাকা একটি ডিভাইসের বর্ণনা সহ তথ্য ধারণকারী একটি ক্লাস।

সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

DeviceDescriptor ()
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel)
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator)
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, IDevice idevice)
DeviceDescriptor (String serial, boolean isStubDevice, IDevice.DeviceState deviceState, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, IDevice idevice)
DeviceDescriptor (String serial, String displaySerial, boolean isStubDevice, IDevice.DeviceState deviceState, DeviceAllocationState state, TestDeviceState testDeviceState, String product, String productVariant, String sdkVersion, String buildId, String hardwareRevision, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, boolean isTemporary, String preconfiguredIp, Integer preconfiguredDeviceNumOffset, IDevice idevice)
DeviceDescriptor ( DeviceDescriptor d, DeviceAllocationState state)

ClusterDeviceMonitor-এ সহজ স্টেট আপডেট করার জন্য ব্যবহার করা হয়।

DeviceDescriptor ( DeviceDescriptor d, String serial, String displaySerial)

প্লেসহোল্ডার ডিভাইসের জন্য সিরিয়ালের সহজ স্টেট আপডেট করার জন্য ব্যবহার করা হয়।

DeviceDescriptor ( DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)

পাবলিক পদ্ধতি

String getBatteryLevel ()
String getBuildId ()
String getDeviceClass ()
IDevice.DeviceState getDeviceState ()
String getDisplaySerial ()
String getHardwareRevision ()
String getMacAddress ()
Integer getPreconfiguredDeviceNumOffset ()
String getPreconfiguredIp ()
String getProduct ()
String getProductVariant ()
String getProperty (String name)
String getSdkVersion ()
String getSerial ()
String getSimOperator ()
String getSimState ()
DeviceAllocationState getState ()
TestDeviceState getTestDeviceState ()
boolean isStubDevice ()
boolean isTemporary ()

আমন্ত্রণ শেষে ডিভাইসটি মুছে ফেলা হবে কিনা তা ফেরত দেয়।

String toString ()

সিরিয়াল, পণ্য এবং বিল্ড আইডি সহ একটি বিবরণ প্রদান করে

পাবলিক কনস্ট্রাক্টর

ডিভাইস বর্ণনাকারী

public DeviceDescriptor ()

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (String serial, 
                boolean isStubDevice, 
                DeviceAllocationState state, 
                String product, 
                String productVariant, 
                String sdkVersion, 
                String buildId, 
                String batteryLevel)

পরামিতি
serial String

isStubDevice boolean

state DeviceAllocationState

product String

productVariant String

sdkVersion String

buildId String

batteryLevel String

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (String serial, 
                boolean isStubDevice, 
                DeviceAllocationState state, 
                String product, 
                String productVariant, 
                String sdkVersion, 
                String buildId, 
                String batteryLevel, 
                String deviceClass, 
                String macAddress, 
                String simState, 
                String simOperator)

পরামিতি
serial String

isStubDevice boolean

state DeviceAllocationState

product String

productVariant String

sdkVersion String

buildId String

batteryLevel String

deviceClass String

macAddress String

simState String

simOperator String

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (String serial, 
                boolean isStubDevice, 
                DeviceAllocationState state, 
                String product, 
                String productVariant, 
                String sdkVersion, 
                String buildId, 
                String batteryLevel, 
                String deviceClass, 
                String macAddress, 
                String simState, 
                String simOperator, 
                IDevice idevice)

পরামিতি
serial String

isStubDevice boolean

state DeviceAllocationState

product String

productVariant String

sdkVersion String

buildId String

batteryLevel String

deviceClass String

macAddress String

simState String

simOperator String

idevice IDevice

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (String serial, 
                boolean isStubDevice, 
                IDevice.DeviceState deviceState, 
                DeviceAllocationState state, 
                String product, 
                String productVariant, 
                String sdkVersion, 
                String buildId, 
                String batteryLevel, 
                String deviceClass, 
                String macAddress, 
                String simState, 
                String simOperator, 
                IDevice idevice)

পরামিতি
serial String

isStubDevice boolean

deviceState IDevice.DeviceState

state DeviceAllocationState

product String

productVariant String

sdkVersion String

buildId String

batteryLevel String

deviceClass String

macAddress String

simState String

simOperator String

idevice IDevice

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (String serial, 
                String displaySerial, 
                boolean isStubDevice, 
                IDevice.DeviceState deviceState, 
                DeviceAllocationState state, 
                TestDeviceState testDeviceState, 
                String product, 
                String productVariant, 
                String sdkVersion, 
                String buildId, 
                String hardwareRevision, 
                String batteryLevel, 
                String deviceClass, 
                String macAddress, 
                String simState, 
                String simOperator, 
                boolean isTemporary, 
                String preconfiguredIp, 
                Integer preconfiguredDeviceNumOffset, 
                IDevice idevice)

পরামিতি
serial String

displaySerial String

isStubDevice boolean

deviceState IDevice.DeviceState

state DeviceAllocationState

testDeviceState TestDeviceState

product String

productVariant String

sdkVersion String

buildId String

hardwareRevision String

batteryLevel String

deviceClass String

macAddress String

simState String

simOperator String

isTemporary boolean

preconfiguredIp String

preconfiguredDeviceNumOffset Integer

idevice IDevice

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (DeviceDescriptor d, 
                DeviceAllocationState state)

ClusterDeviceMonitor-এ সহজ স্টেট আপডেট করার জন্য ব্যবহার করা হয়।

পরামিতি
d DeviceDescriptor

state DeviceAllocationState

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (DeviceDescriptor d, 
                String serial, 
                String displaySerial)

প্লেসহোল্ডার ডিভাইসের জন্য সিরিয়ালের সহজ স্টেট আপডেট করার জন্য ব্যবহার করা হয়।

পরামিতি
d DeviceDescriptor

serial String

displaySerial String

ডিভাইস বর্ণনাকারী

public DeviceDescriptor (DeviceDescriptor d, 
                String preconfiguredIp, 
                Integer preconfiguredDeviceNumOffset)

পরামিতি
d DeviceDescriptor

preconfiguredIp String

preconfiguredDeviceNumOffset Integer

পাবলিক পদ্ধতি

ব্যাটারি লেভেল পান

public String getBatteryLevel ()

রিটার্নস
String

getBuildId

public String getBuildId ()

রিটার্নস
String

ডিভাইসক্লাস পান

public String getDeviceClass ()

রিটার্নস
String

getDeviceState

public IDevice.DeviceState getDeviceState ()

রিটার্নস
IDevice.DeviceState

getDisplaySerial

public String getDisplaySerial ()

রিটার্নস
String

হার্ডওয়্যার রিভিশন পান

public String getHardwareRevision ()

রিটার্নস
String

getMacAddress

public String getMacAddress ()

রিটার্নস
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

রিটার্নস
Integer

getPreconfiguredIp

public String getPreconfiguredIp ()

রিটার্নস
String

পণ্য পান

public String getProduct ()

রিটার্নস
String

GetProduct ভেরিয়েন্ট

public String getProductVariant ()

রিটার্নস
String

সম্পত্তি পান

public String getProperty (String name)

পরামিতি
name String

রিটার্নস
String

getSdkVersion

public String getSdkVersion ()

রিটার্নস
String

getSerial

public String getSerial ()

রিটার্নস
String

getSimOperator

public String getSimOperator ()

রিটার্নস
String

getSimState

public String getSimState ()

রিটার্নস
String

getState

public DeviceAllocationState getState ()

রিটার্নস
DeviceAllocationState

getTestDeviceState

public TestDeviceState getTestDeviceState ()

রিটার্নস
TestDeviceState

isStubDevice

public boolean isStubDevice ()

রিটার্নস
boolean

অস্থায়ী

public boolean isTemporary ()

আমন্ত্রণ শেষে ডিভাইসটি মুছে ফেলা হবে কিনা তা ফেরত দেয়।

রিটার্নস
boolean

স্ট্রিং

public String toString ()

সিরিয়াল, পণ্য এবং বিল্ড আইডি সহ একটি বিবরণ প্রদান করে

রিটার্নস
String