Tabnine Logo
Media.nativeGetType
Code IndexAdd Tabnine to your IDE (free)

How to use
nativeGetType
method
in
org.videolan.libvlc.Media

Best Java code snippets using org.videolan.libvlc.Media.nativeGetType (Showing top 5 results out of 315)

origin: mrmaffen/vlc-android-sdk

/**
 * Get the type of the media
 *
 * @see {@link Type}
 */
public int getType() {
  synchronized (this) {
    if (mType != -1)
      return mType;
    if (isReleased())
      return Type.Unknown;
  }
  final int type = nativeGetType();
  synchronized (this) {
    mType = type;
    return mType;
  }
}
origin: wobiancao/RtspServerAndVlcPlay

/**
 * Get the type of the media
 *
 * @see {@link Type}
 */
public int getType() {
  synchronized (this) {
    if (mType != -1)
      return mType;
    if (isReleased())
      return Type.Unknown;
  }
  final int type = nativeGetType();
  synchronized (this) {
    mType = type;
    return mType;
  }
}
origin: ymcao/YaPlayer

/**
 * Get the type of the media
 *
 * @return type
 */
public int getType() {
  synchronized (this) {
    if (mType != -1)
      return mType;
    if (isReleased())
      return Type.Unknown;
  }
  final int type = nativeGetType();
  synchronized (this) {
    mType = type;
    return mType;
  }
}
origin: pedroSG94/vlc-example-streamplayer

/**
 * Get the type of the media
 *
 * @see {@link Type}
 */
public int getType() {
  synchronized (this) {
    if (mType != -1)
      return mType;
    if (isReleased())
      return Type.Unknown;
  }
  final int type = nativeGetType();
  synchronized (this) {
    mType = type;
    return mType;
  }
}
origin: Shirlman/YiPlayer

/**
 * Get the type of the media
 *
 * @see {@link Type}
 */
public int getType() {
  synchronized (this) {
    if (mType != -1)
      return mType;
    if (isReleased())
      return Type.Unknown;
  }
  final int type = nativeGetType();
  synchronized (this) {
    mType = type;
    return mType;
  }
}
org.videolan.libvlcMedianativeGetType

Popular methods of Media

  • <init>
  • addOption
    Add an option to this Media. This Media should be alive (not released).
  • release
  • setHWDecoderEnabled
    Add or remove hw acceleration media options
  • parse
    Parse the media synchronously with a flag. This Media should be alive (not released).
  • parseAsync
    Parse the media asynchronously with a flag. This Media should be alive (not released). To track when
  • getMediaCodecModule
  • getTrack
    Get a Track The Track can be casted to AudioTrack, VideoTrack or SubtitleTrack in function of the Tr
  • getTrackCount
    Get the Track count.
  • getTracks
  • isReleased
  • nativeAddOption
  • isReleased,
  • nativeAddOption,
  • nativeAddSlave,
  • nativeClearSlaves,
  • nativeGetDuration,
  • nativeGetMeta,
  • nativeGetMrl,
  • nativeGetSlaves,
  • nativeGetState,
  • nativeGetTracks

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JCheckBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
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