WZStatusCallback

Extends Protocol:
NSObject
Declared In:

Introduction

WZStatusCallback defines a protocol for the callback argument to the startStreaming API method used to monitor the status of a broadcast.



Methods

-onWZError:
-onWZEvent:
-onWZStatus:

onWZError:


@required

- (void) onWZError:(WZStatus *) status;
Parameters
status

The WZStatus describing the error (the 'error' value of the WZStatus).

Discussion

Required protocol method that will be called when a SDK component or process encounters an error


onWZEvent:


@optional

- (void) onWZEvent:(WZStatus *) status;
Parameters
status

The WZStatus describing the event (the 'event' value of the WZStatus).

Discussion

Optional protocol method that will be called when a SDK component or process wants to communicate an event.


onWZStatus:


@required

- (void) onWZStatus:(WZStatus *) status;
Parameters
status

The WZStatus describing the success state (the 'state' value of the WZStatus).

Discussion

Required protocol method that will be called when a SDK component or process completes successfully