Class MapContext.MemoryManagementResult
- Enclosing class:
- MapContext
Memory management result.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe difference in kibibytes between the limit and the video-memory requirement for only the currently visible data.booleantruerepresent success,falserepresent failure. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
diffBetweenVideoMemoryLimitAndRequirementInKiB
The difference in kibibytes between the limit and the video-memory requirement for only the currently visible data. If positive, the returned value is the surplus value over the currently required bare minimum. Even when positive, if the limit set is low, the application could later breach the limit and delete even visible data. A non positive value means the limit cannot fit the existing visible data and there could be data disappearing or flickering. If for some reason the callback is ignored or correct memory limit cannot be calculated,
nullvalue is returned. -
success
public boolean successtruerepresent success,falserepresent failure.
-
-
Constructor Details
-
MemoryManagementResult
public MemoryManagementResult(boolean success) Creates a new instance.
- Parameters:
success-truerepresent success,falserepresent failure.
-