Skip to content

Class LocationViewController

PavelTychinin edited this page Oct 29, 2021 · 13 revisions

LocationVieController class is used to interact and control the LocationView

Public methods

Function setSublocationId

public void setSublocationId(int id)

Function downloads and selects the specified sublocation.

Function getTouchInput

public TouchInput getTouchInput()

Function is used for getting TouchInput class element for working with gestures and touches.

Function setDefaultBackgroundColor

public void setDefaultBackgroundColor(float red, float green, float blue, float alpha)

Function is used for setting the background color of screen.

Parameters
  • red — red color in range 0..1.
  • green — green color in range 0..1.
  • blue — blue color in range 0..1.
  • alpha — alpha color in range 0..1.
Return value

TouchInput class element.

Clone this wiki locally