public final class Memory extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
getDeviceMemory(com.vaadin.flow.function.SerializableConsumer<Double> callback)
Retrieve the devices amount of memory.
|
static void |
getStorageEstimate(com.vaadin.flow.function.SerializableConsumer<StorageEstimate> callback)
Retrive the storage estimate.
|
public static void getDeviceMemory(com.vaadin.flow.function.SerializableConsumer<Double> callback)
callback - The callback triggered when the devices memory amount was received.public static void getStorageEstimate(com.vaadin.flow.function.SerializableConsumer<StorageEstimate> callback)
callback - The callback triggered when the storage estimate was received.Copyright © 2020 XDEV Software Corp.. All rights reserved.