Classes
The following classes are available globally.
-
Declaration
Swift
@objc public class BanubaSdkManager : NSObject@objc extension BanubaSdkManager: InputServiceDelegateextension BanubaSdkManager: BNBCameraPoiListenerextension BanubaSdkManager: BNBFaceNumberListenerextension BanubaSdkManager: BNBFrameDurationListener -
CameraDevice provides access to the phone camera module.
See moreDeclaration
-
Declaration
Swift
@objc public class EffectPlayerConfiguration : NSObject -
Camera input takes frames from
See moreCameraDeviceand pushes them into the realtime processor. Uses asynchronous processor, so frames can be dropped in case ofPlayerlatency.Declaration
-
Photo input takes photo from
See moreCameraDeviceorImageand pushes it into the photo processor.Declaration
Swift
public class Photo : Input -
Declaration
-
Frame output presents provided
See moreOffscreenRenderTargetinto the generic frame:UIImage,RenderedFrame,CIImage. Recommended to usePixelBufferoutput insted, because of performance.Declaration
Swift
public class Frame<T> : Output where T : FramePresentable -
PixelBuffer output presents provided
See moreOffscreenRenderTargetinto theCVPixelBufferwith definedorientation. UsesTextureCacheto speedup GPU to CPU pixels transfer.Declaration
Swift
public class PixelBuffer : Output -
PixelBufferYUV output presents provided
See moreOffscreenRenderTargetinto theCVPixelBufferwith definedpixelFormatTypeandorientation. UsesCGImageandAccelerateto speedup orientation and color space transformations.Declaration
Swift
public class PixelBufferYUV : Output -
Video output presents provided
See moreOffscreenRenderTargetinto the video file.Declaration
Swift
public class Video : Outputextension Video: VideoRecorderDelegateextension Video: CameraDeviceAudioDelegate -
Player uses
See moreinputto take processed frames, draweffectand present them into theoutputs.Declaration
Swift
public class Player : NSObject -
Declaration
Swift
@objc @MainActor public class EffectPlayerView : BaseEffectPlayerView -
Declaration
Swift
public class OpenGLLayer : CAEAGLLayer -
Declaration
Swift
@objc @MainActor public class OpenGLEffectPlayerView : BaseEffectPlayerView -
Declaration
Swift
@objc public class RenderTarget : NSObject, RenderedFrameProvider -
Declaration
Swift
public class TextureCache -
Declaration
Swift
public class MetalTextureCache : TextureCache -
Declaration
Swift
public class OGLTextureCache : TextureCache -
Declaration
Swift
@objc public class CameraPhotoSettings : NSObject -
Declaration
Swift
@objc public class OutputConfiguration : NSObject -
Provides ability to add/remove several observers for generic events
See moreDeclaration
Swift
public class MulticastDelegate<T> -
Declaration
Swift
@objc public class VideoExportHelper : NSObject -
Declaration
Swift
@objc public class WatermarkDrawSettings : NSObject -
Watermark placement coulb be configured by normalized position (0..1 for x, y based on final pixel buffer size), or by specifying corner and fixed pixel offset from it. Size could be configured by specifying fixed pixel width, or by normalized value (0..1 from final pixel buffer width), height is always calculated using aspect ratio of provided watermark image.
See moreDeclaration
Swift
@objc public class WatermarkInfo : NSObject -
Declaration
Swift
@objc public class OutputSettings : NSObject -
Declaration
Swift
public class VideoRecorder : VideoRecorderServicing
Classes Reference