Package 

Interface ISessionManager


  • 
    public interface ISessionManager
    
                        

    The OneSignal session manager is responsible for managing the current session state.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit addOutcome(String name) Add an outcome with the provided name, captured against the current session.
      abstract Unit addUniqueOutcome(String name) Add a unique outcome with the provided name, captured against the current session.
      abstract Unit addOutcomeWithValue(String name, Float value) Add an outcome with the provided name and value, captured against the current session.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addOutcome

         abstract Unit addOutcome(String name)

        Add an outcome with the provided name, captured against the current session. See Outcomes | OneSignal (https://documentation.onesignal.com/docs/outcomes)

        Parameters:
        name - The name of the outcome that has occurred.
      • addUniqueOutcome

         abstract Unit addUniqueOutcome(String name)

        Add a unique outcome with the provided name, captured against the current session. See Outcomes | OneSignal (https://documentation.onesignal.com/docs/outcomes)

        Parameters:
        name - The name of the unique outcome that has occurred.
      • addOutcomeWithValue

         abstract Unit addOutcomeWithValue(String name, Float value)

        Add an outcome with the provided name and value, captured against the current session. See Outcomes | OneSignal (https://documentation.onesignal.com/docs/outcomes)

        Parameters:
        name - The name of the outcome that has occurred.
        value - The value tied to the outcome.