ZegoDefaultVideoFilterFactory Class Reference
Inherits from | NSObject |
---|---|
Conforms to | ZegoVideoFilterFactory |
Declared in | zego-api-external-video-filter-oc.h |
+ sharedInstance
获取滤镜工厂单例
+ (nonnull instancetype)sharedInstance
Return Value
单例对象
Declared In
zego-api-external-video-filter-oc.h
– setFilter:
设置滤镜实现
- (void)setFilter:(nullable id<ZegoVideoFilter>)filter
Parameters
filter |
滤镜实现 |
---|
Declared In
zego-api-external-video-filter-oc.h
– enableFilter:
是否启用默认滤镜工厂
- (void)enableFilter:(bool)enable
Parameters
enable |
true 启用,false 关闭 |
---|
Discussion
必须在创建主 SDK 接口对象前,或销毁主 SDK 接口对象后调用
Declared In
zego-api-external-video-filter-oc.h