Trajectory

class Trajectory : NativeMethodsReceiver

Class representing a Trajectory. Should not be created manually, see TrajectoryManager.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum ResultCode : Enum<Trajectory.ResultCode>

Functions

Link copied to clipboard
fun advance(): TrajectoryPoint?

Advances to the next point in the trajectory.

Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
Link copied to clipboard
fun isValid(): Boolean

Determines if the Trajectory object is valid.

Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> register(clazz: Class<T>, listener: T): Int
open fun <T : NativeMethodsReceiver.NativeListener> register(    clazz: Class<T>,     listener: T,     @Nullable executor: Executor?): Int
Link copied to clipboard
open fun size(): Int
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int