This returns the current user inventory of vAtoms with their configured Faces and Actions.
import io.blockv.common.internal.net.rest.exception.BlockvException
import io.blockv.common.model.Vatom
import io.blockv.common.model.Face
import io.blockv.common.model.Action
//get vAtoms by id, root inventory id is '.'
blockv.getVatomManager().getInventory(/*inventory-id*/)
Note: You can access the function through the VatomManager
found in your blockv
singleton. See Getting Started
// blockv is the Blockv sdk singleton created in getting started
blockv.getVatomManager()
.getInventory(".")
.subscribe(vatoms -> {
//success
Vatom vatom = vatoms.get(0);
List<Face> faces = vatom.getFaces();
List<Action> actions = vatom.getActions();
}, throwable -> {/*Failure*/});