sdk/src/main/java/com/bugsnag/android/SessionTracker.java
void startNewSession(@NonNull Date date, @Nullable User user, boolean autoCaptured) {
        if (configuration.getSessionEndpoint() == null) {
            Logger.warn("The session tracking endpoint has not been set. "
                + "Session tracking is disabled");
            return;
        }
        Session session = new Session(UUID.randomUUID().toString(), date, user, autoCaptured);
        currentSession.set(session);
        trackSessionIfNeeded(session);
    }
/**
     * Starts a new session with the given date and user.
     * <p>
     * A session will only be created if {@link Configuration#shouldAutoCaptureSessions()} returns
     * true.
     *
     * @param date the session start date
     * @param user the session user (if any)
     */
Starts a new session with the given date and user.

A session will only be created if  Configuration#shouldAutoCaptureSessions() returns
true.

@param date the session start date
@param user the session user (if any)
Starts a new session with the given date and user . A session will only be created if Configuration#shouldAutoCaptureSessions () returns true . @param date the session start date @param user the session user ( if any )
void startNewSession(@NonNull Date date, @Nullable User user, boolean autoCaptured) {
        if (configuration.getSessionEndpoint() == null) {
            Logger.warn("The session tracking endpoint has not been set. "
                + "Session tracking is disabled");
            return;
        }
        Session session = new Session(UUID.randomUUID().toString(), date, user, autoCaptured);
        currentSession.set(session);
        trackSessionIfNeeded(session);
    }
void startNewSession ( @ NonNull Date date , @ Nullable User user , boolean autoCaptured ) { if ( configuration . getSessionEndpoint ( ) == null ) { Logger . warn ( "The session tracking endpoint has not been set. " + "Session tracking is disabled" ) ; return ; } Session session = new Session ( UUID . randomUUID ( ) . toString ( ) , date , user , autoCaptured ) ; currentSession . set ( session ) ; trackSessionIfNeeded ( session ) ; }
Starts a new session with the given date and user.
Starts a new session with the given date and user .