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

Package sg.edu.ntu.scse.cz2006.gymbuddies.tasks

Types

CheckFirstRun

Task to run the first run check in the background For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class CheckFirstRun : AsyncTask<String, Void, Void>

EvaluateCarparkDistance

Task to execute to generate carpark distances from the gym itself For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class EvaluateCarparkDistance : AsyncTask<Void, Void, ArrayList<Pair<CarPark, Float>>>

GetProfilePicFromFirebaseAuth

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

class GetProfilePicFromFirebaseAuth : AsyncTask<Uri, Void, Void>

ParseGymDataFile

Task to parse the gym data file from the app resource For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class ParseGymDataFile : AsyncTask<Void, Void, Void>

SearchGym

Asynchronous Task to do a search for gyms based on parameters defined by the user in the background of the app for sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class SearchGym : AsyncTask<Void, Void, Void>

TrimNearbyGyms

Task to execute to cut down the number of markers displayed on the map for gyms For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class TrimNearbyGyms : AsyncTask<Void, Void, ArrayList<MarkerOptions>>

UpdateCarparkAvailabilityService

Internal IntentService for updating carpark availability for sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class UpdateCarparkAvailabilityService : IntentService

UpdateFirebaseFirestoreDocument

This task handles updating of Firebase Firestore DB user document object in the background For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class UpdateFirebaseFirestoreDocument : AsyncTask<Void, Void, Boolean>

UpdateGymFavourites

Task to handle updating gym favourites when the favourites button is clicked For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class UpdateGymFavourites : AsyncTask<Void, Void, Void>

UploadProfilePic

Task ran to upload profile picture onto Firebase Storage and generate the URL of the image For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

class UploadProfilePic : AsyncTask<Void, Void, Void>