app / sg.edu.ntu.scse.cz2006.gymbuddies.tasks / GetProfilePicFromFirebaseAuth

GetProfilePicFromFirebaseAuth

class GetProfilePicFromFirebaseAuth : AsyncTask<Uri, Void, Void>

Task to retrieve profile picture from the Firebase Auth Provider For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

Author
Kenneth Soh

Since
2019-09-09

Types

Callback

Internal interface to handle callbacks

interface Callback

Constructors

<init>

Initializees the task to execute

GetProfilePicFromFirebaseAuth(activity: Activity, callback: Callback)

Properties

actRef

WeakReference<(android.app.Activity..android.app.Activity?)> A weak reference to the activity

val actRef: WeakReference<Activity>

callback

Callback Callback to call when task completes

var callback: Callback

Functions

doInBackground

Internal task to execute in the background on a seperate thread

fun doInBackground(vararg imageUris: Uri?): Void?