loadImage

fun loadImage(shuttle: Shuttle, cargoId: String)

Initiates cargo pickup from the com.grarcht.shuttle.framework.Shuttle warehouse using cargoId and updates pickupCargoState with the result. The pickup terminates automatically upon a success or error result.

Parameters

shuttle

the Shuttle instance used for cargo pickup.

cargoId

the identifier of the cargo to retrieve from the warehouse.