Skip to content

PlaceViewController Functions

mihika123 edited this page Mar 15, 2021 · 2 revisions

This documentation discusses the various functions in the PlaceViewController class.

Functions

signIn

  • Parameters: None
  • Returns: None

This function handles the user authentication and calls the AlertError() function when there is a login failure as in the case of poor network connection. The API retrieves an authentication token in case of successful login.

alertError

  • Parameters: None
  • Returns: None

This function handles any failure in the user authentication due to poor network connection and presents an alert error popup with a message that reads "Error. Failed to load data. Check your network connection."

Clone this wiki locally