Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol BugsnagFeatureFlagStore
    
    - (void)addFeatureFlagWithName:(NSString *)name variant:(nullable NSString *)variant
    NS_SWIFT_NAME(addFeatureFlag(name:variant:));
    
    - (void)addFeatureFlagWithName:(NSString *)name
    NS_SWIFT_NAME(addFeatureFlag(name:));
    
    - (void)addFeatureFlags:(NSArray<BugsnagFeatureFlag *> *)featureFlags
    NS_SWIFT_NAME(addFeatureFlags(_:));
    
    - (void)clearFeatureFlagWithName:(NSString *)name
    NS_SWIFT_NAME(clearFeatureFlag(name:));
    
    - (void)clearFeatureFlags;
    
    @end

    Swift

    protocol BugsnagFeatureFlagStore
  • An internal protocol defining methods a Bugsnag metadata store must implement.

    See more

    Declaration

    Objective-C

    @protocol BugsnagMetadataStore <NSObject>

    Swift

    protocol BugsnagMetadataStore : NSObjectProtocol
  • A class-level protocol supporting the MetadataStore interface

    See more

    Declaration

    Objective-C

    @protocol BugsnagClassLevelMetadataStore <NSObject>

    Swift

    protocol BugsnagClassLevelMetadataStore : NSObjectProtocol