AirshipSDK.AirshipLiveUpdateManager Class Reference
Airship Live Update manager. More...
Inheritance diagram for AirshipSDK.AirshipLiveUpdateManager:
Collaboration diagram for AirshipSDK.AirshipLiveUpdateManager:Public Member Functions | |
| IEnumerator | List (LiveUpdateListRequest request, Action< LiveUpdate[]> onComplete, Action< Exception > onError=null) |
| Lists Live Updates matching the given type. | |
| IEnumerator | ListAll (Action< LiveUpdate[]> onComplete, Action< Exception > onError=null) |
| Lists all Live Updates. | |
| void | Start (LiveUpdateStartRequest request) |
| Starts a new Live Update. | |
| void | Update (LiveUpdateUpdateRequest request) |
| Updates an existing Live Update. | |
| void | End (LiveUpdateEndRequest request) |
| Ends a Live Update. | |
| void | ClearAll () |
| Clears all Live Updates. | |
Detailed Description
Airship Live Update manager.
Android only.
Member Function Documentation
◆ ClearAll()
|
inline |
Clears all Live Updates.
Implements AirshipSDK.IAirshipLiveUpdateManager.
◆ End()
|
inline |
Ends a Live Update.
- Parameters
-
request The end request.
Implements AirshipSDK.IAirshipLiveUpdateManager.
References AirshipSDK.List.
◆ List()
|
inline |
Lists Live Updates matching the given type.
- Parameters
-
request The list request containing the type filter. onComplete Callback invoked with the matching Live Updates. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
Implements AirshipSDK.IAirshipLiveUpdateManager.
References AirshipSDK.List, and AirshipSDK.LiveUpdate.
◆ ListAll()
|
inline |
Lists all Live Updates.
- Parameters
-
onComplete Callback invoked with all Live Updates. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
Implements AirshipSDK.IAirshipLiveUpdateManager.
References AirshipSDK.List, and AirshipSDK.LiveUpdate.
◆ Start()
|
inline |
Starts a new Live Update.
- Parameters
-
request The start request.
Implements AirshipSDK.IAirshipLiveUpdateManager.
References AirshipSDK.List.
◆ Update()
|
inline |
Updates an existing Live Update.
- Parameters
-
request The update request.
Implements AirshipSDK.IAirshipLiveUpdateManager.
References AirshipSDK.List.
1.9.8