-
public interface ISessionManagerThe OneSignal session manager is responsible for managing the current session state.
-
-
Method Summary
Modifier and Type Method Description abstract UnitaddOutcome(String name)Add an outcome with the provided name, captured against the current session. abstract UnitaddUniqueOutcome(String name)Add a unique outcome with the provided name, captured against the current session. abstract UnitaddOutcomeWithValue(String name, Float value)Add an outcome with the provided name and value, captured against the current session. -
-
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.
-
-
-
-