EmbraceDelegate

@protocol EmbraceDelegate <NSObject>

The EMBDelegate is used to notify the application of updates from the Embrace.io SDK. Currently the only update that will be delivered is whether the Embrace.io SDK is active for the given app launch.

  • Optional callback that gets called to inform the user whether the Embrace.io SDK is enabled or disabled for the current app user. It is also called when the status changes from enabled to disabled or vice versa.

    Declaration

    Objective-C

    - (void)embraceSDKIsEnabled:(BOOL)enabled;

    Swift

    optional func embraceSDKIsEnabled(_ enabled: Bool)

    Parameters

    enabled

    A bool indicating whether the Embrace.io SDK is on or off for the current application instance.