CBLCorePluginRegistration
Objective-C
@protocol CBLCorePluginRegistration <NSObject>
Swift
protocol PluginRegistration : NSObjectProtocol
Methods to register your plugin with CascableCore.
-
Register your camera discovery provider with CascableCore. This method must be called at most once per plugin.
Declaration
Objective-C
- (void)registerDiscoveryProvider: (id<CBLCoreCameraDiscoveryProvider> _Nonnull)discoveryProvider;
Swift
func register(discoveryProvider: any CameraDiscoveryProvider)
Parameters
discoveryProvider
The discovery provider to register.
-
Register your manual discovery provider with CascableCore. This method must be called at most once per plugin.
Declaration
Objective-C
- (void)registerManualDiscoveryProvider: (id<CBLCoreCameraManualDiscoveryProvider> _Nonnull)manualDiscoveryProvider;
Swift
func register(manualDiscoveryProvider: any CameraManualDiscoveryProvider)
Parameters
manualDiscoveryProvider
The manual discovery provider provider to register.