Type Definitions

The following type definitions are available globally.

  • [VAMP getLocationWithCompletionHandler:]が完了した時に呼ばれるブロック

    Declaration

    Objective-C

    typedef void (^VAMPGetLocationCompletion)(VAMPLocation *_Nonnull)

    Swift

    typealias VAMPGetLocationCompletion = (VAMPLocation) -> Void
  • [VAMP isEUAccessWithCompletionHandler:]が完了した時に呼ばれるブロック

    Declaration

    Objective-C

    typedef void (^VAMPIsEUAccessCompletion)(BOOL)

    Swift

    typealias VAMPIsEUAccessCompletion = (Bool) -> Void
  • Adapterの初期化完了時に実行されるブロック

    Declaration

    Objective-C

    typedef void (^VAMPAdapterInitializeCompletionBlock)(VAMPError *_Nullable)

    Swift

    typealias VAMPAdapterInitializeCompletionBlock = (VAMPError?) -> Void