Skip to main content
Calls onChange with the current state of an Entitlement, then again on each change, until you dispose the handle it returns. Follows changes on iOS only: on Android and WebGL it calls onChange(false) once.

Signature

Parameters

Example

Notes

  • onChange runs on the Unity main thread, and never after you dispose the handle.
  • Before Configure(), or when the native subscribe fails before any answer, it calls onChange(false) once.
  • Throws ArgumentNullException when entitlement or onChange is null.