mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
- The package is renamed to avoid conflicts with v1, should any app wish to include both v1 and v2 for a period of time. This is similar to the approach used by some other open source projects (e.g. okhttp). - Copyright year is updated everywhere for completeness. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126895326
28 lines
836 B
Java
28 lines
836 B
Java
/*
|
|
* Copyright (C) 2016 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
package com.google.android.exoplayer2;
|
|
|
|
/**
|
|
* Tracks the progression of media time.
|
|
*/
|
|
public interface MediaClock {
|
|
|
|
/**
|
|
* @return The current media position in microseconds.
|
|
*/
|
|
long getPositionUs();
|
|
|
|
}
|