FileDocCategorySizeDatePackage
MtpDeviceInfo.javaAPI DocAndroid 5.1 API1779Thu Mar 12 22:22:30 GMT 2015android.mtp

MtpDeviceInfo

public class MtpDeviceInfo extends Object
This class encapsulates information about an MTP device. This corresponds to the DeviceInfo Dataset described in section 5.1.1 of the MTP specification.

Fields Summary
private String
mManufacturer
private String
mModel
private String
mVersion
private String
mSerialNumber
Constructors Summary
private MtpDeviceInfo()

    
Methods Summary
public final java.lang.StringgetManufacturer()
Returns the manufacturer's name for the MTP device

return
the manufacturer name

        return mManufacturer;
    
public final java.lang.StringgetModel()
Returns the model name for the MTP device

return
the model name

        return mModel;
    
public final java.lang.StringgetSerialNumber()
Returns the unique serial number for the MTP device

return
the serial number

        return mSerialNumber;
    
public final java.lang.StringgetVersion()
Returns the version string the MTP device

return
the device version

        return mVersion;