ITCB_Observer_Protocol
public protocol ITCB_Observer_Protocol
This protocol describes an instance that can register to observe the main SDK.
All members are required.
-
This is a unique UUID that will allow us to identify this instance.
The implementor should define this, then ignore it.
Declaration
Swift
var uuid: UUID { get set } -
Called when an error condition is encountered by the SDK. This is required.
Declaration
Swift
func errorOccurred(_ error: ITCB_Errors, sdk: ITCB_SDK_Protocol)Parameters
errorThe error code that occurred.
sdkThe SDK instance that experienced the error.
View on GitHub
ITCB_Observer_Protocol Protocol Reference