Class Device.Descriptor

  • Enclosing class:
    Device

    public static class Device.Descriptor
    extends java.lang.Object
    Represents an input device's description. This can be used to identify the device without opening or attaching it.
    • Field Detail

      • deviceId

        public java.lang.String deviceId
        System deviceId. These may not be unique as the system may reuse device ids for different types
      • urn

        public java.lang.String urn
        Unique device locator. this will be unique but it may be generated internally and may not match system addresses.
      • friendlyName

        public java.lang.String friendlyName
        A human-readable name
      • cameraCharacteristics

        public android.hardware.camera2.CameraCharacteristics cameraCharacteristics
        Android-specific characteristics for cameras
      • pixelWidth

        public int pixelWidth
        Camera pixel dimensions
      • pixelHeight

        public int pixelHeight
      • rotation

        public float rotation
        Camera rotation
      • sampleRate

        public int sampleRate
        Microphone sample rate
      • channelCount

        public int channelCount
        Microphone channel count
      • isDefault

        public boolean isDefault
        Default device indicator
    • Constructor Detail

      • Descriptor

        public Descriptor()