RemoteMediaPlayer.MediaChannelResult | 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
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

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

# RemoteMediaPlayer.MediaChannelResult

implements Result

com.google.android.gms.cast.RemoteMediaPlayer.MediaChannelResult

## Class Overview

Result of a media command.

## Summary

Public Methods
abstract JSONObject | getCustomData() Custom data received from the receiver application, when a media command fails.

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus()

## Public Methods

#### public abstract JSONObject getCustomData ()

Custom data received from the receiver application, when a media command fails. If no custom data was received, this method returns `null`.