360 Module Settings

Document created by Orlando Sanchez Martinez Employee on Mar 7, 2017Last modified by Herberth Alvarado on Apr 9, 2017
Version 4Show Document
  • View in full screen mode

Reach out to us, to provide you with an Android Studio sample where you can test all the following settings.

 

setDisplayMode(DISPLAY_MODE)

  • AMP360Component.DISPLAY_MODE_NORMAL
    • Renders the surface on a normal rectangular screen (phones, tablets, TVs).
  • AMP360Component.DISPLAY_MODE_GLASS
    • Renders the surface on the Google Glass screen.

 

setInteractiveMode(INTERACTIVE_MODE)

  • AMP360Component.INTERACTIVE_MODE_MOTION
    • Allows the user to control the focus of the video by tilting and moving the device around (using the gyroscope of the device if available).
  • AMP360Component.INTERACTIVE_MODE_TOUCH
    • Allows the user to control the focus of the video by touching the screen and moving the focus with the fingers (it uses gestures and touch events to adjust the position of the video on the screen).
  • AMP360Component.INTERACTIVE_MODE_MOTION_WITH_TOUCH
    • It's a combination of the two modes above, the video can be positioned both with the fingers or by using the gyroscope.
  • AMP360Component.INTERACTIVE_MODE_CARDBORAD_MOTION
    • Allows the user to control the focus of the screen by moving around the device when using a Cardboard set (it splits the screen and creates the correct layout to focus the video for the Cardboard lenses).
  • AMP360Component.INTERACTIVE_MODE_CARDBORAD_MOTION_WITH_TOUCH
    • Allows the user to control the focus of the screen by moving the device around and by touching the screen, when using a cardboard set (it splits the screen and creates the correct layout to focus the video for the Cardboard lenses).

Attachments

    Outcomes