Class ArEventsHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onArButtonClicked(PTRMapFragment mapFragment, ImageButton arButton, Boolean isARReady) This function is triggered when the AR button is tapped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArEventsHandler

        ArEventsHandler()
    • Method Detail

      • onArButtonClicked

         Unit onArButtonClicked(PTRMapFragment mapFragment, ImageButton arButton, Boolean isARReady)

        This function is triggered when the AR button is tapped.

        Parameters:
        mapFragment - Fragment that displays the map
        arButton - The AR button that triggered the callback
        isARReady - true if AR is ready to be launched, false otherwise.