set Offline Region Observer
Register an observer to be notified when the state of the region changes.
Parameters
observer
The observer that will be notified when a region’s status changes.
Register an observer to be notified when the state of the region changes.
The observer that will be notified when a region’s status changes.