All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.alexeylapin.m3u8.model.PartialSegment Maven / Gradle / Ivy

The newest version!
package com.github.alexeylapin.m3u8.model;

import org.immutables.value.Value;

import java.util.Optional;

@Value.Immutable
public interface PartialSegment {

    String uri();

    double duration();

    @Value.Default
    default boolean independent() {
        return false;
    }

    Optional byterange();

    @Value.Default
    default boolean gap() {
        return false;
    }

    static PartialSegment.Builder builder() {
        return new PartialSegment.Builder();
    }

    class Builder extends PartialSegmentBuilder {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy