-
- All Implemented Interfaces:
public final class LatestUpdateStatusRequest extends OtaRequest<REQ, RESP>
Data class that represents a query request of all sub region areas' latest update status.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLatestUpdateStatusRequest.Builder
-
Method Summary
Modifier and Type Method Description List<SubRegionStatus>execute()Executes a sync call to get the latest update's status of all sub regions. voidasyncCall(Callback<List<SubRegionStatus>> callback)Executes an async call to get the latest update's status of all sub regions. voidcancel()Attempts to cancel the committed call. -
-
Method Detail
-
execute
List<SubRegionStatus> execute()
Executes a sync call to get the latest update's status of all sub regions.
-
asyncCall
void asyncCall(Callback<List<SubRegionStatus>> callback)
Executes an async call to get the latest update's status of all sub regions.
- Parameters:
callback- the Callback to fetch the response of the call
-
cancel
void cancel()
Attempts to cancel the committed call.
-
-
-
-