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
onChangeruns on the Unity main thread, and never after you dispose the handle.- Before
Configure(), or when the native subscribe fails before any answer, it callsonChange(false)once. - Throws
ArgumentNullExceptionwhenentitlementoronChangeis null.