Protocols

The following protocols are available globally.

  • AirServiceKitDelegate exposes optional methods that you can implement in your application to receive events from AirServiceKit. AirServiceKit uses these methods to communicate with your application. For an instance of your class to function as the delegate of AirServiceKit, it must do the following:

    • Set your object as the delegate (by assigning it to AirServiceKitViewController's delegate property).
    • Declare that your class adopts the protocol in the class definition. For example:
    @interface MyClass () <AirServiceKitDelegate>
    
    • Implement any optional methods that you want to participate in.
    See more

    Declaration

    Objective-C

    @protocol AirServiceKitDelegate <NSObject>

    Swift

    protocol AirServiceKitDelegate