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

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

Best Java code snippets using com.novoda.noplayer.PlayerSurfaceHolder.containsSurfaceView (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.noplayerPlayerSurfaceHoldercontainsSurfaceView

Popular methods of PlayerSurfaceHolder

  • <init>
  • attach
  • create
  • getSurfaceRequester
  • containsTextureView

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook extensions
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