shared
Returns the shared UAirship singleton instance. This method will block until airship is ready.
Return
The UAirship singleton.
Throws
if takeoff is not called prior to this method.
Requests the airship instance asynchronously.
This method calls through to shared with a null looper.
Return
A cancelable object that can be used to cancel the callback.
Parameters
An optional callback
Requests the airship instance asynchronously.
If airship is ready, the callback will not be called immediately, the callback is still dispatched to the specified looper. The blocking shared may unblock before any of the asynchronous callbacks are executed.
Return
A cancelable object that can be used to cancel the callback.
Parameters
A Looper object whose message queue will be used for the callback, or null to make callbacks on the calling thread or main thread if the current thread does not have a looper associated with it.
An optional callback