Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef chirp_sdk_state_t CHIRP_SDK_STATE

    Swift

    typealias CHIRP_SDK_STATE = Int32
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpStartedBlock)               (void)

    Swift

    typealias ChirpStartedBlock = () -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpStoppedBlock)               (void)

    Swift

    typealias ChirpStoppedBlock = () -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpSendingBlock)               (NSData * _Nonnull data,
                                                     NSUInteger channel)

    Swift

    typealias ChirpSendingBlock = (UnsafeMutablePointer<Int32>, Int32) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpSentBlock)                  (NSData * _Nonnull data,
                                                     NSUInteger channel)

    Swift

    typealias ChirpSentBlock = (UnsafeMutablePointer<Int32>, Int32) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpReceivingBlock)             (NSUInteger channel)

    Swift

    typealias ChirpReceivingBlock = (Int32) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpReceivedBlock)              (NSData * _Nullable data,
                                                    NSUInteger channel)

    Swift

    typealias ChirpReceivedBlock = (UnsafeMutablePointer<Int32>?, Int32) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpStateUpdatedBlock)          (CHIRP_SDK_STATE oldState,
                                                    CHIRP_SDK_STATE newState)

    Swift

    typealias ChirpStateUpdatedBlock = (CHIRP_SDK_STATE, CHIRP_SDK_STATE) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpAuthenticatedBlock)         (NSError *_Nullable error)

    Swift

    typealias ChirpAuthenticatedBlock = (UnsafeMutablePointer<Int32>?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpSetConfigFromNetworkBlock)  (NSError *_Nullable error)

    Swift

    typealias ChirpSetConfigFromNetworkBlock = (UnsafeMutablePointer<Int32>?) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpVolumeChangedBlock)         (float volume)

    Swift

    typealias ChirpVolumeChangedBlock = (Float) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^ChirpAudioBufferUpdatedBlock)    (AudioBuffer buffer,
                                                     NSUInteger numberOfFrames)

    Swift

    typealias ChirpAudioBufferUpdatedBlock = (Int32, Int32) -> Void