Request a single or multiple vAtoms by providing an array of vAtom-Ids. The response includes the 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
blockv.getVatomManager().getVatoms(/*vAtom-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()
.getVatoms("vatomId")
.subscribe(vatoms -> {
//success
Vatom vatom = vatoms.get(0);
List<Face> faces = vatom.getFaces();
List<Action> actions = vatom.getActions();
}, throwable -> {/*Failure*/});