Capture View Model
ViewModel that provides two way data bindings for CaptureModel. Use this class to retrieve/manipulate data stored in CaptureModel.
See also
MVVM Architecture For more information about how this software architectural pattern works.
Constructors
An instance of the current Application
Types
Factory to initiate this CaptureViewModel
Functions
Clears all properties of CaptureModel.
Getter that returns the value of cameraImage
Getter that returns the value of croppedScreenshot
Getter that returns the value of fullScreenshot
Getter that returns cameraImage as MutableLiveData
Getter that returns croppedScreenshot as MutableLiveData
Getter that returns fullScreenshot as MutableLiveData
Getter that returns serverURL as MutableLiveData
Getter that returns the value of matchID.
Requests the full screenshot from the server and calls onDownloadFullScreenshot
Callback that updates fullScreenshot with fullScreenshot.
Set the data of a new capture request.
Set the data of a capture request response
Properties
Data binding for CaptureModel.cameraImage
Data binding for CaptureModel.croppedScreenshot
Data binding for CaptureModel.fullScreenshot
Data binding for CaptureModel.matchID
Data binding for CaptureModel.serverURL