Examples of atLeast()


Examples of uk.co.caprica.vlcj.version.Version.atLeast()

     * @param actual actual version
     */
    private static void test(String required, String actual) {
        Version requiredVersion = new Version(required);
        Version actualVersion = new Version(actual);
        String result = actualVersion.atLeast(requiredVersion) ? "OK" : "Too Old!";
        System.out.println("Required: " + requiredVersion + ", Actual: " + actualVersion + ", Result: " + result);
    }
}
View Full Code Here

Examples of uk.co.caprica.vlcj.version.Version.atLeast()

     * @return event type
     */
    private libvlc_event_e lastKnownEvent() {
        libvlc_event_e result;
        Version version = new Version(libvlc.libvlc_get_version());
        if(version.atLeast(new Version("2.2.0"))) {
            result = libvlc_event_e.libvlc_MediaPlayerESSelected;
        }
        else {
            result = libvlc_event_e.libvlc_MediaPlayerVout;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.