Exemplo n.º 1
0
 @Override
 public void onAvailableRangeChanged(int sourceId, TimeRange availableRange) {
   availableRangeValuesUs = availableRange.getCurrentBoundsUs(availableRangeValuesUs);
   Log.d(
       TAG,
       "availableRange ["
           + availableRange.isStatic()
           + ", "
           + availableRangeValuesUs[0]
           + ", "
           + availableRangeValuesUs[1]
           + "]");
 }
Exemplo n.º 2
0
 @Override
 public void onSeekRangeChanged(TimeRange seekRange) {
   seekRangeValuesUs = seekRange.getCurrentBoundsUs(seekRangeValuesUs);
   Log.d(
       TAG,
       "seekRange [ "
           + seekRange.type
           + ", "
           + seekRangeValuesUs[0]
           + ", "
           + seekRangeValuesUs[1]
           + "]");
 }