Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 2.08 KB

File metadata and controls

25 lines (20 loc) · 2.08 KB

pickcore / com.lovoo.android.pickcore.contract

Package com.lovoo.android.pickcore.contract

Types

Name Summary
CameraDestination interface CameraDestination : Parcelable
Model class that represents a destination for captured images.
CameraEngine interface CameraEngine
Engine interface responsible for setting up the PickPic camera.
CaptureCallback interface CaptureCallback
The interface that the calling UI should implement to receive the captured file.
GalleryPresenter interface GalleryPresenter
Contract to implement for Presenter.
GalleryView interface GalleryView
Contract to implement for UI.
ImageEngine interface ImageEngine
Engine interface responsible for setting up the PickPic image loading.
PicturePresenter interface PicturePresenter
Contract to implement for Presenter.
PictureView interface PictureView
Contract to implement for UI.
SelectionHolder interface SelectionHolder
Contract for the selection implementation.
ToggleCallback interface ToggleCallback

Functions

Name Summary
createTempFile fun CameraDestination.createTempFile(fileName: String= ""):File?
Stores a file in the directory of this CameraDestination.
getUri fun CameraDestination.getUri(context: Context): Uri?
Resolves the destination to a valid Uri. If authority is set then the Uri will be resolved as content uri otherwise as absolute file Uri.