app / sg.edu.ntu.scse.cz2006.gymbuddies.tasks / UploadProfilePic / Callback

Callback

interface Callback

Internal interface to handle callbacks

Functions

onSuccess

Callback function called when the task completes with the success status and the imageUri of the image you just uploaded

abstract fun onSuccess(success: Boolean, imageUri: Uri? = null): Unit