当前位置: 首页>>代码示例>>Java>>正文


Java TimeRange.getCurrentBoundsUs方法代码示例

本文整理汇总了Java中com.google.android.exoplayer.TimeRange.getCurrentBoundsUs方法的典型用法代码示例。如果您正苦于以下问题:Java TimeRange.getCurrentBoundsUs方法的具体用法?Java TimeRange.getCurrentBoundsUs怎么用?Java TimeRange.getCurrentBoundsUs使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.android.exoplayer.TimeRange的用法示例。


在下文中一共展示了TimeRange.getCurrentBoundsUs方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onAvailableRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onAvailableRangeChanged(int sourceId, TimeRange availableRange) {
  availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
  Log.d(TAG, "availableRange [" + availableRange.isStatic() + ", " + availableRangeValuesUs[0]
      + ", " + availableRangeValuesUs[1] + "]");
}
 
开发者ID:Dreamxiaoxuan,项目名称:AndroidTvDemo,代码行数:7,代码来源:EventLogger.java

示例2: onAvailableRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onAvailableRangeChanged(TimeRange availableRange) {
  availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
  Log.d(TAG, "availableRange [" + availableRange.isStatic() + ", " + availableRangeValuesUs[0]
      + ", " + availableRangeValuesUs[1] + "]");
}
 
开发者ID:vuthanhict,项目名称:ExoPlayerController,代码行数:7,代码来源:EventLogger.java

示例3: checkAvailableRange

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
private static void checkAvailableRange(TimeRange seekRange, long startTimeUs, long endTimeUs) {
  long[] seekRangeValuesUs = seekRange.getCurrentBoundsUs(null);
  assertEquals(startTimeUs, seekRangeValuesUs[0]);
  assertEquals(endTimeUs, seekRangeValuesUs[1]);
}
 
开发者ID:asifkhan11,项目名称:ExoPlayer-Demo,代码行数:6,代码来源:DashChunkSourceTest.java

示例4: onSeekRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onSeekRangeChanged(TimeRange seekRange) {
    seekRangeValuesUs = seekRange.getCurrentBoundsUs(seekRangeValuesUs);
    Log.d(TAG, "seekRange [ " + seekRange.type + ", " + seekRangeValuesUs[0] + ", "
            + seekRangeValuesUs[1] + "]");
}
 
开发者ID:nextux,项目名称:sbs-android-tv,代码行数:7,代码来源:EventLogger.java

示例5: onAvailableRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onAvailableRangeChanged(int sourceId, TimeRange availableRange) {
    availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
    Log.d(TAG, "availableRange [" + availableRange.isStatic() + ", " + availableRangeValuesUs[0]
            + ", " + availableRangeValuesUs[1] + "]");
}
 
开发者ID:cklar,项目名称:ExoPlayerWrapper,代码行数:7,代码来源:EventLogger.java

示例6: onAvailableRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onAvailableRangeChanged(TimeRange availableRange) {
  availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
  Log.d(TAG, "availableRange [" + availableRange.isStatic() + ", " + availableRangeValuesUs[0]
          + ", " + availableRangeValuesUs[1] + "]");
}
 
开发者ID:birdcopy,项目名称:Android-Birdcopy-Application,代码行数:7,代码来源:EventLogger.java

示例7: onAvailableRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onAvailableRangeChanged(TimeRange availableRange) {
    availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
    Log.d(TAG, "availableRange [" + availableRange.isStatic() + ", " + availableRangeValuesUs[0]
            + ", " + availableRangeValuesUs[1] + "]");
}
 
开发者ID:succlz123,项目名称:OkPlayer,代码行数:7,代码来源:EventLogger.java

示例8: onSeekRangeChanged

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
@Override
public void onSeekRangeChanged(TimeRange seekRange) {
  seekRangeValuesUs = seekRange.getCurrentBoundsUs(seekRangeValuesUs);
  Log.d(TAG, "seekRange [ " + seekRange.type + ", " + seekRangeValuesUs[0] + ", "
      + seekRangeValuesUs[1] + "]");
}
 
开发者ID:raphanda,项目名称:ExoPlayer,代码行数:7,代码来源:EventLogger.java

示例9: checkSeekRange

import com.google.android.exoplayer.TimeRange; //导入方法依赖的package包/类
private void checkSeekRange(TimeRange seekRange, long startTimeUs, long endTimeUs) {
  long[] seekRangeValuesUs = seekRange.getCurrentBoundsUs(null);
  assertEquals(startTimeUs, seekRangeValuesUs[0]);
  assertEquals(endTimeUs, seekRangeValuesUs[1]);
}
 
开发者ID:raphanda,项目名称:ExoPlayer,代码行数:6,代码来源:DashChunkSourceTest.java


注:本文中的com.google.android.exoplayer.TimeRange.getCurrentBoundsUs方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。