obtain Session
Obtains a GroundSdk session automatically managed according to the provided activity's lifecycle.
All observers registered through this session are resumed according to the provided observer behaviour.
Return
a GroundSdk session, automatically managed according to the given activity's lifecycle
Parameters
the activity whose lifecycle will control the session's own lifecycle
observer behaviour this session must comply to
Obtains a GroundSdk session automatically managed according to the provided activity's lifecycle.
All observers registered through this session are resumed in onStart and suspended in onStop. Use obtainSession to customize this behavior if unsuitable to the application needs.
Return
a GroundSdk session, automatically managed according to the given activity's lifecycle
See also
#obtainSession(Activity, ObserverBehavior)
Parameters
the activity whose lifecycle will control the session's own lifecycle