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

MarshalQueryableBoolean

public class MarshalQueryableBoolean extends Object implements android.hardware.camera2.marshal.MarshalQueryable
Marshal booleans: TYPE_BYTE <-> boolean/Boolean

Fields Summary
Constructors Summary
Methods Summary
public android.hardware.camera2.marshal.MarshalercreateMarshaler(android.hardware.camera2.utils.TypeReference managedType, int nativeType)

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

        return (Boolean.class.equals(managedType.getType())
                || boolean.class.equals(managedType.getType())) && nativeType == TYPE_BYTE;