unregisterObserver

Unregisters the player event observer.

public void unregisterObserver(PlayerObserver observer) throws RteException;
Since
v4.5.0

After you register the player event observer by calling registerObserver, if you want to unregister the observer, call this method.

Call timing

Call this method after registerObserver.

Restrictions

None.

Parameters

observer
The delegate instance. See PlayerObserver.

Exception

If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.