YoutubeManager

@interface YoutubeManager : NSObject <VOYoutubeManagerProtocol>

YoutubeManager is the default implementation of VOYoutubeManagerProtocol. It is responsible for requesting and parsing Youtube Videos from Youtube / Google.

  • Default initializer for YoutubeManager.

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithNetworkManager:(nonnull id<VONetworkManagerProtocol>)networkManager
                 accessKey:(nonnull NSString *)youtubeAccessKey;

    Parameters

    networkManager

    - Used to send requests to Youtube’s servers.

    youtubeAccessKey

    - The access key required to successfully request Youtube videos.

    Return Value

    Instance of YoutubeManager.