blob: 441b3f4483a5d39005ad683663aa96b5b596d948 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Entity for communicating progress of media playback
class MediaProgressEntityData {
/// Constructor
const MediaProgressEntityData(this.durationMsec, this.normalizedProgress);
/// Progress through media in the range [0..1]
final double normalizedProgress;
/// Full length of the media
final int durationMsec;
}