Loading...
Searching...
No Matches
com.navigine.idl.java.CameraCallback Class Referenceabstract

Callback specified after the camera movement is stopped. More...

Public Member Functions

abstract void onMoveFinished (boolean completed)
 Called when the move if finished.
 

Detailed Description

Callback specified after the camera movement is stopped.

Referenced from: LocationWindow.

Definition at line 15 of file CameraCallback.java.

Member Function Documentation

◆ onMoveFinished()

abstract void com.navigine.idl.java.CameraCallback.onMoveFinished ( boolean completed)
abstract

Called when the move if finished.

Parameters
completeddetermine whether the movement is finished or cancelled

Java code snippet:

@Override
public void onMoveFinished(boolean completed) {
if (completed) {
System.out.println("Camera movement completed successfully");
} else {
System.out.println("Camera movement was cancelled");
}
}

Kotlin code snippet:

override fun onMoveFinished(completed: Boolean) {
if (completed) {
println("Camera movement completed successfully")
} else {
println("Camera movement was cancelled")
}
}

The documentation for this class was generated from the following file: