Type Definitions

The following type definitions are available globally.

  • A block that receives a OOLogItem instance that provides information about a logged event.

    Declaration

    Objective-C

    typedef void (^OOLogListenerBlock)(OOLogItem *)

    Swift

    typealias OOLogListenerBlock = (OOLogItem?) -> Void
  • Callback to confirm that session was successfully extended.

    Declaration

    Objective-C

    typedef void (^OOSessionExtensionSuccessBlock)(void)

    Swift

    typealias OOSessionExtensionSuccessBlock = () -> Void