Type Definitions

The following type definitions are available globally.

  • Block that is triggered when a session ends. Accepts two parameters: a non-nil ASAbstractFaspSession that should be cast as either an ASFaspSession or ASFaspPersistentSession and a session state representing the final state of the session.

    Declaration

    Objective-C

    typedef void (^ASFaspSessionEndBlock)(ASAbstractFaspSession *_Nonnull, int)

    Swift

    typealias ASFaspSessionEndBlock = (ASAbstractFaspSession, Int32) -> Void