GARVPSAvailabilityFuture
A handle to an async operation initiated by a call to checkVPSAvailabilityAtCoordinate:completionHandler: (GARSession(Geospatial))
.
Summary
Inheritance
Inherits from:NSObject
Properties |
|
---|---|
result
|
The result of the async operation, or a default value if the operation isn't complete.
|
state
|
The current future state.
|
Public methods |
|
---|---|
cancel
|
BOOL
Cancel the async operation if it's still pending.
|
Properties
result
@property(nonatomic, readonly) GARVPSAvailability result;
The result of the async operation, or a default value if the operation isn't complete.
This should only be used after checking that state
is GARFutureStateDone
.
Public methods
cancel
- (BOOL)cancel
Cancel the async operation if it's still pending.
If the operation was cancelled by this invocation, this method returns true and the callback (if any) will never be invoked.