BNBEffectInfo

Objective-C

@interface BNBEffectInfo : NSObject
- (nonnull instancetype)initWithUrl:(nonnull NSString *)url
                 recognizerFeatures:(nonnull NSSet<NSNumber *> *)recognizerFeatures
                          usesAudio:(BOOL)usesAudio
                          usesVideo:(BOOL)usesVideo
                        usesTouches:(BOOL)usesTouches
                   usesBgSeparation:(BOOL)usesBgSeparation;
+ (nonnull instancetype)effectInfoWithUrl:(nonnull NSString *)url
                       recognizerFeatures:(nonnull NSSet<NSNumber *> *)recognizerFeatures
                                usesAudio:(BOOL)usesAudio
                                usesVideo:(BOOL)usesVideo
                              usesTouches:(BOOL)usesTouches
                         usesBgSeparation:(BOOL)usesBgSeparation;

@property (nonatomic, readonly, nonnull) NSString * url;

@property (nonatomic, readonly, nonnull) NSSet<NSNumber *> * recognizerFeatures;

@property (nonatomic, readonly) BOOL usesAudio;

@property (nonatomic, readonly) BOOL usesVideo;

@property (nonatomic, readonly) BOOL usesTouches;

@property (nonatomic, readonly) BOOL usesBgSeparation;

@end

Swift

class BNBEffectInfo : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUrl:(nonnull NSString *)url
                     recognizerFeatures:(nonnull NSSet<NSNumber *> *)recognizerFeatures
                              usesAudio:(BOOL)usesAudio
                              usesVideo:(BOOL)usesVideo
                            usesTouches:(BOOL)usesTouches
                       usesBgSeparation:(BOOL)usesBgSeparation;

    Swift

    init(url: String, recognizerFeatures: Set<NSNumber>, usesAudio: Bool, usesVideo: Bool, usesTouches: Bool, usesBgSeparation: Bool)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)effectInfoWithUrl:(nonnull NSString *)url
                           recognizerFeatures:(nonnull NSSet<NSNumber *> *)recognizerFeatures
                                    usesAudio:(BOOL)usesAudio
                                    usesVideo:(BOOL)usesVideo
                                  usesTouches:(BOOL)usesTouches
                             usesBgSeparation:(BOOL)usesBgSeparation;
  • url

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString * url

    Swift

    var url: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSSet<NSNumber *> * recognizerFeatures

    Swift

    var recognizerFeatures: Set<NSNumber> { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL usesAudio

    Swift

    var usesAudio: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL usesVideo

    Swift

    var usesVideo: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL usesTouches

    Swift

    var usesTouches: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL usesBgSeparation

    Swift

    var usesBgSeparation: Bool { get }