Cast.CastOptions.Builder | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public static final class

# Cast.CastOptions.Builder

extends Object

java.lang.Object
↳ | com.google.android.gms.cast.Cast.CastOptions.Builder

## Class Overview

A builder to create an instance of `Cast.CastOptions` to set API configuration parameters for `Cast`.

## Summary

Public Methods
Cast.CastOptions | build() Builds a CastOptions with the arguments supplied to this builder.
Cast.CastOptions.Builder | setVerboseLoggingEnabled(boolean enabled) Enables or disables verbose logging for this Cast session.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Methods

#### public Cast.CastOptions build ()

Builds a CastOptions with the arguments supplied to this builder.

#### public Cast.CastOptions.Builder setVerboseLoggingEnabled (boolean enabled)

Enables or disables verbose logging for this Cast session. This option is provided to aid in testing and debugging, and should not be enabled in release builds.