Class NavigateButton

java.lang.Object
ConstraintLayout
com.mapfactor.sdk.utils.ui.NavigateButton

public class NavigateButton extends ConstraintLayout
Navigate menu button
Since:
3.15
  • Constructor Summary

    Constructors
    Constructor
    Description
    NavigateButton(android.content.Context context, android.util.AttributeSet attrs)
    Class constructor
    NavigateButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)
    Class constructor
    NavigateButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
    Class constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clean up.
    void
    Initializes the navigate button.

    Methods inherited from class java.lang.Object

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

    • NavigateButton

      public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs)
      Class constructor
      Parameters:
      context - context
      attrs - see androidx.constraintlayout.widget.ConstraintLayout
      Since:
      3.15
    • NavigateButton

      public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr)
      Class constructor
      Parameters:
      context - context
      attrs - see androidx.constraintlayout.widget.ConstraintLayout
      defStyleAttr - see androidx.constraintlayout.widget.ConstraintLayout
      Since:
      3.15
    • NavigateButton

      public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
      Class constructor
      Parameters:
      context - context
      attrs - see androidx.constraintlayout.widget.ConstraintLayout
      defStyleAttr - see androidx.constraintlayout.widget.ConstraintLayout
      defStyleRes - see androidx.constraintlayout.widget.ConstraintLayout
      Since:
      3.15
  • Method Details

    • initialize

      public void initialize()
      Initializes the navigate button. Must be called to connect the button to Routing and Navigation engines.
      Since:
      3.15
    • cleanup

      public void cleanup()
      Clean up. Must be called to disconnect the button from Routing and Navigation engines.
      Since:
      3.15