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

MarshalQueryableNativeByteToInteger

public class MarshalQueryableNativeByteToInteger extends Object implements android.hardware.camera2.marshal.MarshalQueryable
Marshal fake native enums (ints): TYPE_BYTE <-> int/Integer

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

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

        return (Integer.class.equals(managedType.getType())
                || int.class.equals(managedType.getType())) && nativeType == TYPE_BYTE;