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

io.lindstrom.m3u8.model.Resolution Maven / Gradle / Ivy

There is a newer version: 0.28
Show newest version
package io.lindstrom.m3u8.model;

import org.immutables.value.Value;

/**
 * Video resolution interface
 */
@Value.Immutable
public interface Resolution {
    int width();

    int height();

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

    static Resolution of(int width, int height) {
        return builder()
                .width(width)
                .height(height)
                .build();
    }

    class Builder extends ResolutionBuilder {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy