Session

  • The Session interface is implemented by all sessions usable with the ConsumerController.

  • It includes methods to start and stop a session, managing internal callbacks.

  • A notable subclass is JourneySharingSession, which represents a tracking session for a TripModel.

public interface Session
Known Indirect Subclasses

Interface implemented by all sessions that can be provided to the ConsumerController.

Public Method Summary

abstract void
start()
Registers the internal manager callbacks for this session if they have not already been registered.
abstract void
stop()
If internal manager callbacks are registered for this session, unregisters them.

Public Methods

public abstract void start ()

Registers the internal manager callbacks for this session if they have not already been registered.

public abstract void stop ()

If internal manager callbacks are registered for this session, unregisters them.