set Observer
Register an observer to be notified when the state of the region changes.
Parameters
observer
the observer to be notified
Register an observer to be notified when the state of the region changes.
the observer to be notified