Listener.DisableAllNotifications Method

Definition

Namespace: P1.CameraSdk

Disable all enabled notification on the listener.

public void DisableAllNotifications();

This convenience method lets you remove all the active listeners from the Listener in one go. This is effective when your application is about to terminate.

This method effectivly remove all references that the Listener might have to Camera instances.

If you are about to tewrminate your app, please also remember to wake-up any blocked event threads, using WakeUpWaitingThread.

Parameters:

SdkException

an error-code inside if something goes wrong

See also:

WakeUpWaitingThread