FileDocCategorySizeDatePackage
MarshalQueryableStreamConfigurationDuration.javaAPI DocAndroid 5.1 API3416Thu Mar 12 22:22:10 GMT 2015android.hardware.camera2.marshal.impl

MarshalQueryableStreamConfigurationDuration

public class MarshalQueryableStreamConfigurationDuration extends Object implements android.hardware.camera2.marshal.MarshalQueryable
Marshaler for custom class {@link StreamConfigurationDuration} for min-frame and stall durations.

Data is stored as {@code (format, width, height, durationNs)} tuples (int64).

Fields Summary
private static final int
SIZE
private static final long
MASK_UNSIGNED_INT
Values and-ed with this will do an unsigned int to signed long conversion; in other words the sign bit from the int will not be extended.
Constructors Summary
Methods Summary
public android.hardware.camera2.marshal.MarshalercreateMarshaler(android.hardware.camera2.utils.TypeReference managedType, int nativeType)

        return new MarshalerStreamConfigurationDuration(managedType, nativeType);
    
public booleanisTypeMappingSupported(android.hardware.camera2.utils.TypeReference managedType, int nativeType)

        return nativeType == TYPE_INT64 &&
                (StreamConfigurationDuration.class.equals(managedType.getType()));