HardwareInfo

public abstract class HardwareInfo


Information about device hardware.

Summary

Nested types

public abstract class HardwareInfo.Builder

Builder for HardwareInfo.

Public methods

static HardwareInfo.Builder
abstract String

Brand of the device.

Metadata

Metadata about brand.

static HardwareInfo
abstract String

The name of the industrial design.

Metadata

Metadata about device.

abstract String

Name of the hardware.

Metadata

Metadata about hardware.

abstract String

Manufacturer.

Metadata

Metadata about manufacturer.

abstract String

The model of the device.

Metadata

Metadata about model.

abstract String

The name of the overall product.

Metadata

Metadata about product.

boolean

Returns true if brandMetadata is set.

boolean

Returns true if deviceMetadata is set.

boolean

Returns true if hardwareMetadata is set.

boolean

Returns true if manufacturerMetadata is set.

boolean

Returns true if modelMetadata is set.

boolean

Returns true if productMetadata is set.

abstract HardwareInfo.Builder

Public methods

builder

public static HardwareInfo.Builder builder()

getBrand

public abstract String getBrand()

Brand of the device. For example, `Google`.

getBrandMetadata

public Metadata getBrandMetadata()

Metadata about brand.

getDefaultInstance

public static HardwareInfo getDefaultInstance()

getDevice

public abstract String getDevice()

The name of the industrial design. E.g. angler.

getDeviceMetadata

public Metadata getDeviceMetadata()

Metadata about device.

getHardware

public abstract String getHardware()

Name of the hardware. For example, `Angler`.

getHardwareMetadata

public Metadata getHardwareMetadata()

Metadata about hardware.

getManufacturer

public abstract String getManufacturer()

Manufacturer. For example, `Motorola`.

getManufacturerMetadata

public Metadata getManufacturerMetadata()

Metadata about manufacturer.

getModel

public abstract String getModel()

The model of the device. For example, `Asus Nexus 7`.

getModelMetadata

public Metadata getModelMetadata()

Metadata about model.

getProduct

public abstract String getProduct()

The name of the overall product. E.g. angler.

getProductMetadata

public Metadata getProductMetadata()

Metadata about product.

hasBrandMetadata

public boolean hasBrandMetadata()

Returns true if brandMetadata is set.

hasDeviceMetadata

public boolean hasDeviceMetadata()

Returns true if deviceMetadata is set.

hasHardwareMetadata

public boolean hasHardwareMetadata()

Returns true if hardwareMetadata is set.

hasManufacturerMetadata

public boolean hasManufacturerMetadata()

Returns true if manufacturerMetadata is set.

hasModelMetadata

public boolean hasModelMetadata()

Returns true if modelMetadata is set.

hasProductMetadata

public boolean hasProductMetadata()

Returns true if productMetadata is set.

toBuilder

public abstract HardwareInfo.Builder toBuilder()