DeviceMemoryRequirement

class DeviceMemoryRequirement implements Requirement

Constructors

DeviceMemoryRequirement
Link copied to clipboard
void DeviceMemoryRequirement(CameraHolder cameraHolder)

Functions

check
Link copied to clipboard
RequirementReport check()
getId
Link copied to clipboard
RequirementId getId()
sufficientMemoryAvailable
Link copied to clipboard

Given a photo size, return whether there is (currently) enough memory available.

boolean sufficientMemoryAvailable(Size photoSize)
boolean sufficientMemoryAvailable(Runtime runtime, Size photoSize)