Class CycleLogInputType.Dispenser
- java.lang.Object
-
- io.engineblock.activityapi.cyclelog.inputs.cyclelog.CycleLogInputType.Dispenser
-
- All Implemented Interfaces:
InputDispenser
- Enclosing class:
- CycleLogInputType
public static class CycleLogInputType.Dispenser extends java.lang.Object implements InputDispenser
-
-
Constructor Detail
-
Dispenser
public Dispenser(Activity activity)
-
-
Method Detail
-
getInput
public Input getInput(long slot)
Description copied from interface:InputDispenserResolve (find or create) an Input instance for the slot specified. The input is not required to be per-slot (per-thread), but any shared inputs must be thread safe.- Specified by:
getInputin interfaceInputDispenser- Parameters:
slot- The numbered slot within the activity instance for this action.- Returns:
- A new or cached Input for the specified slot.
-
-