Cast Options Provider (framework/OptionsProvider.java)

GmsCore · play-services-cast-framework/src/main/java/com/google/android/gms/cast/framework/OptionsProvider.java · java · Apache-2.0
integration, tag:android, tag:cast, tag:configuration, tag:provider

Interface for supplying options needed to create and initialize CastContext, including custom session providers. Implement it to configure Android Cast SDK integration in an app.

// Source: https://github.com/microg/GmsCore | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * SPDX-FileCopyrightText: 2022 microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 * Notice: Portions of this file are reproduced from work created and shared by Google and used
 *         according to terms described in the Creative Commons 4.0 Attribution License.
 *         See https://developers.google.com/readme/policies for details.
 */

package com.google.android.gms.cast.framework;

import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import java.util.List;

/**
 * Developers should implement this interface to provide

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key