fetchContentAsync

Fetch streaming category content asynchronously.

Return

List of results organized by streaming category then streaming service.

Retrieves the streaming content for the streaming categories and and streaming services specified. onServiceError will be called when a streaming service error occurs. onCategoryServiceComplete will be called with the results for a single streaming category-service pair. onAllCategoriesComplete will be called with all of the results or whatever was retrieved before the request was canceled.

Parameters

categories

The list of streaming categories to fetch content for.

services

The list of streaming services to fetch content for.

onServiceError

The optional callback to call when a problem occurs accessing a streaming service.

onCategoryServiceComplete

The optional callback to call when retrieving streaming content for a single streaming category and streaming service.

onAllCategoriesComplete

The optional callback to call when all streaming content has been retrieved or the request was canceled.