Tabnine Logo
MediaRouter$RouteInfo.getPlaybackType
Code IndexAdd Tabnine to your IDE (free)

How to use
getPlaybackType
method
in
android.support.v7.media.MediaRouter$RouteInfo

Best Java code snippets using android.support.v7.media.MediaRouter$RouteInfo.getPlaybackType (Showing top 2 results out of 315)

origin: square/assertj-android

public MediaRouterRouteInfoAssert hasPlaybackType(int playbackType) {
 isNotNull();
 int actualPlaybackType = actual.getPlaybackType();
 assertThat(actualPlaybackType) //
   .overridingErrorMessage("Expected playback type <%s> but was <%s>.", playbackType,
     actualPlaybackType) //
   .isEqualTo(playbackType);
 return this;
}
origin: derry/delion

@Override
public final boolean isRemotePlaybackAvailable() {
  if (mediaRouterInitializationFailed()) return false;
  return getMediaRouter().getSelectedRoute().getPlaybackType()
      == MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE || getMediaRouter().isRouteAvailable(
      mMediaRouteSelector, MediaRouter.AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE);
}
android.support.v7.mediaMediaRouter$RouteInfogetPlaybackType

Popular methods of MediaRouter$RouteInfo

  • getName
  • getDescription
  • getId
  • getVolumeHandling
  • isConnecting
  • isSelected
  • select
  • sendControlRequest
  • supportsControlCategory
  • supportsControlRequest
  • getExtras
  • getPlaybackStream
  • getExtras,
  • getPlaybackStream,
  • getPresentationDisplay,
  • getProvider,
  • getVolume,
  • getVolumeMax,
  • isDefault,
  • isEnabled,
  • matchesSelector

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now