Type Definitions

The following type definitions are available globally.

  • SINLogCallback defines a type of callback that could be used to receive debug logs from SDK

    Declaration

    Objective-C

    typedef void (^SINLogCallback)(SINLogSeverity, NSString *_Nonnull,
                                   NSString *_Nonnull, NSDate *_Nonnull)

    Swift

    typealias SINLogCallback = (SINLogSeverity, String, String, Date) -> Void