Tabnine Logo
PlayerSurfaceHolder.containsTextureView
Code IndexAdd Tabnine to your IDE (free)

How to use
containsTextureView
method
in
com.novoda.noplayer.PlayerSurfaceHolder

Best Java code snippets using com.novoda.noplayer.PlayerSurfaceHolder.containsTextureView (Showing top 1 results out of 315)

origin: novoda/no-player

public void attach(Player.VideoComponent videoPlayer) {
  if (containsSurfaceView()) {
    videoPlayer.setVideoSurfaceView(surfaceView);
  } else if (containsTextureView()) {
    videoPlayer.setVideoTextureView(textureView);
  } else {
    throw new IllegalArgumentException("Surface container does not contain any of the expected views");
  }
}
com.novoda.noplayerPlayerSurfaceHoldercontainsTextureView

Popular methods of PlayerSurfaceHolder

  • <init>
  • attach
  • create
  • getSurfaceRequester
  • containsSurfaceView

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ 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