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

io.qt.multimedia.QMediaTimeRange Maven / Gradle / Ivy

The newest version!
package io.qt.multimedia;

import io.qt.*;


/**
 * 

Represents a set of zero or more disjoint time intervals

*

Java wrapper for Qt class QMediaTimeRange

*/ public class QMediaTimeRange extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

QMediaTimeRange::Interval class represents a time interval with integer precision

*

Java wrapper for Qt class QMediaTimeRange::Interval

*/ public static class Interval extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QMediaTimeRange::Interval::Interval()

*/ public Interval(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(Interval instance); /** *

See QMediaTimeRange::Interval::Interval(QMediaTimeRange::Interval)

* @param other */ public Interval(io.qt.multimedia.QMediaTimeRange.@NonNull Interval other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(Interval instance, io.qt.multimedia.QMediaTimeRange.Interval other); /** *

See QMediaTimeRange::Interval::Interval(qint64,qint64)

* @param start * @param end */ public Interval(long start, long end){ super((QPrivateConstructor)null); initialize_native(this, start, end); } private native static void initialize_native(Interval instance, long start, long end); /** *

See QMediaTimeRange::Interval::contains(qint64)const

* @param time * @return */ @QtUninvokable public final boolean contains(long time){ return contains_native_qint64_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), time); } @QtUninvokable private native boolean contains_native_qint64_constfct(long __this__nativeId, long time); /** *

See QMediaTimeRange::Interval::end()const

* @return */ @QtUninvokable public final long end(){ return end_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long end_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::Interval::isNormal()const

* @return */ @QtUninvokable public final boolean isNormal(){ return isNormal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isNormal_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::Interval::normalized()const

* @return */ @QtUninvokable public final io.qt.multimedia.QMediaTimeRange.@NonNull Interval normalized(){ return normalized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.multimedia.QMediaTimeRange.Interval normalized_native_constfct(long __this__nativeId); /** *

See operator==(QMediaTimeRange::Interval,QMediaTimeRange::Interval)

* @param rhs * @return */ @QtUninvokable public final boolean equals(io.qt.multimedia.QMediaTimeRange.@NonNull Interval rhs){ return equals_native_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean equals_native_QMediaTimeRange_Interval(long __this__nativeId, long rhs); /** *

See QMediaTimeRange::Interval::start()const

* @return */ @QtUninvokable public final long start(){ return start_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long start_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::Interval::translated(qint64)const

* @param offset * @return */ @QtUninvokable public final io.qt.multimedia.QMediaTimeRange.@NonNull Interval translated(long offset){ return translated_native_qint64_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } @QtUninvokable private native io.qt.multimedia.QMediaTimeRange.Interval translated_native_qint64_constfct(long __this__nativeId, long offset); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected Interval(QPrivateConstructor p) { super(p); } /** *

See operator==(QMediaTimeRange::Interval,QMediaTimeRange::Interval)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.multimedia.QMediaTimeRange.Interval) { return equals((io.qt.multimedia.QMediaTimeRange.Interval) other); } return false; } /** * Returns the objects's hash code computed by qHash(QMediaTimeRange::Interval). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QMediaTimeRange::Interval)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QMediaTimeRange::Interval::Interval(QMediaTimeRange::Interval)

*/ @QtUninvokable @Override public Interval clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native Interval clone_native(long __this_nativeId); } /** *

See QMediaTimeRange::QMediaTimeRange()

*/ public QMediaTimeRange(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QMediaTimeRange instance); /** *

See QMediaTimeRange::QMediaTimeRange(QMediaTimeRange)

* @param range */ public QMediaTimeRange(io.qt.multimedia.@NonNull QMediaTimeRange range){ super((QPrivateConstructor)null); initialize_native(this, range); } private native static void initialize_native(QMediaTimeRange instance, io.qt.multimedia.QMediaTimeRange range); /** *

See QMediaTimeRange::QMediaTimeRange(QMediaTimeRange::Interval)

* @param arg__1 */ public QMediaTimeRange(io.qt.multimedia.QMediaTimeRange.@NonNull Interval arg__1){ super((QPrivateConstructor)null); initialize_native(this, arg__1); } private native static void initialize_native(QMediaTimeRange instance, io.qt.multimedia.QMediaTimeRange.Interval arg__1); /** *

See QMediaTimeRange::QMediaTimeRange(qint64,qint64)

* @param start * @param end */ public QMediaTimeRange(long start, long end){ super((QPrivateConstructor)null); initialize_native(this, start, end); } private native static void initialize_native(QMediaTimeRange instance, long start, long end); /** *

See QMediaTimeRange::addInterval(QMediaTimeRange::Interval)

* @param interval */ @QtUninvokable public final void addInterval(io.qt.multimedia.QMediaTimeRange.@NonNull Interval interval){ addInterval_native_cref_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(interval)); } @QtUninvokable private native void addInterval_native_cref_QMediaTimeRange_Interval(long __this__nativeId, long interval); /** *

See QMediaTimeRange::addInterval(qint64,qint64)

* @param start * @param end */ @QtUninvokable public final void addInterval(long start, long end){ addInterval_native_qint64_qint64(QtJambi_LibraryUtilities.internal.nativeId(this), start, end); } @QtUninvokable private native void addInterval_native_qint64_qint64(long __this__nativeId, long start, long end); /** *

See QMediaTimeRange::addTimeRange(QMediaTimeRange)

* @param arg__1 */ @QtUninvokable public final void addTimeRange(io.qt.multimedia.@NonNull QMediaTimeRange arg__1){ addTimeRange_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void addTimeRange_native_cref_QMediaTimeRange(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::clear()

*/ @QtUninvokable public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clear_native(long __this__nativeId); /** *

See QMediaTimeRange::contains(qint64)const

* @param time * @return */ @QtUninvokable public final boolean contains(long time){ return contains_native_qint64_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), time); } @QtUninvokable private native boolean contains_native_qint64_constfct(long __this__nativeId, long time); /** *

See QMediaTimeRange::detach()

*/ @QtUninvokable public final void detach(){ detach_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void detach_native(long __this__nativeId); /** *

See QMediaTimeRange::earliestTime()const

* @return */ @QtUninvokable public final long earliestTime(){ return earliestTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long earliestTime_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::intervals()const

* @return */ @QtUninvokable public final io.qt.core.@NonNull QList intervals(){ return intervals_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList intervals_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::isContinuous()const

* @return */ @QtUninvokable public final boolean isContinuous(){ return isContinuous_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isContinuous_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::isEmpty()const

* @return */ @QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QMediaTimeRange::latestTime()const

* @return */ @QtUninvokable public final long latestTime(){ return latestTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long latestTime_native_constfct(long __this__nativeId); /** *

See operator+(QMediaTimeRange,QMediaTimeRange)

* @param r2 * @return */ @QtUninvokable public final io.qt.multimedia.@NonNull QMediaTimeRange plus(io.qt.multimedia.@NonNull QMediaTimeRange r2){ return plus_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r2)); } @QtUninvokable private native io.qt.multimedia.QMediaTimeRange plus_native_cref_QMediaTimeRange(long __this__nativeId, long r2); /** *

See QMediaTimeRange::operator+=(QMediaTimeRange)

* @param arg__1 * @return */ @QtUninvokable public final @NonNull QMediaTimeRange add(io.qt.multimedia.@NonNull QMediaTimeRange arg__1){ return add_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native QMediaTimeRange add_native_cref_QMediaTimeRange(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::operator+=(QMediaTimeRange::Interval)

* @param arg__1 */ @QtUninvokable public final void plusAssign(io.qt.multimedia.QMediaTimeRange.@NonNull Interval arg__1){ plusAssign_native_cref_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void plusAssign_native_cref_QMediaTimeRange_Interval(long __this__nativeId, long arg__1); /** *

See operator-(QMediaTimeRange,QMediaTimeRange)

* @param r2 * @return */ @QtUninvokable public final io.qt.multimedia.@NonNull QMediaTimeRange minus(io.qt.multimedia.@NonNull QMediaTimeRange r2){ return minus_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r2)); } @QtUninvokable private native io.qt.multimedia.QMediaTimeRange minus_native_cref_QMediaTimeRange(long __this__nativeId, long r2); /** *

See QMediaTimeRange::operator-=(QMediaTimeRange)

* @param arg__1 * @return */ @QtUninvokable public final @NonNull QMediaTimeRange subtract(io.qt.multimedia.@NonNull QMediaTimeRange arg__1){ return subtract_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native QMediaTimeRange subtract_native_cref_QMediaTimeRange(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::operator-=(QMediaTimeRange::Interval)

* @param arg__1 */ @QtUninvokable public final void minusAssign(io.qt.multimedia.QMediaTimeRange.@NonNull Interval arg__1){ minusAssign_native_cref_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void minusAssign_native_cref_QMediaTimeRange_Interval(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::operator=(QMediaTimeRange)

* @param arg__1 */ @QtUninvokable public final void assign(io.qt.multimedia.@NonNull QMediaTimeRange arg__1){ assign_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QMediaTimeRange(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::operator=(QMediaTimeRange::Interval)

* @param arg__1 */ @QtUninvokable public final void assign(io.qt.multimedia.QMediaTimeRange.@NonNull Interval arg__1){ assign_native_cref_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QMediaTimeRange_Interval(long __this__nativeId, long arg__1); /** *

See operator==(QMediaTimeRange,QMediaTimeRange)

* @param rhs * @return */ @QtUninvokable public final boolean equals(io.qt.multimedia.@NonNull QMediaTimeRange rhs){ return equals_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean equals_native_cref_QMediaTimeRange(long __this__nativeId, long rhs); /** *

See QMediaTimeRange::removeInterval(QMediaTimeRange::Interval)

* @param interval */ @QtUninvokable public final void removeInterval(io.qt.multimedia.QMediaTimeRange.@NonNull Interval interval){ removeInterval_native_cref_QMediaTimeRange_Interval(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(interval)); } @QtUninvokable private native void removeInterval_native_cref_QMediaTimeRange_Interval(long __this__nativeId, long interval); /** *

See QMediaTimeRange::removeInterval(qint64,qint64)

* @param start * @param end */ @QtUninvokable public final void removeInterval(long start, long end){ removeInterval_native_qint64_qint64(QtJambi_LibraryUtilities.internal.nativeId(this), start, end); } @QtUninvokable private native void removeInterval_native_qint64_qint64(long __this__nativeId, long start, long end); /** *

See QMediaTimeRange::removeTimeRange(QMediaTimeRange)

* @param arg__1 */ @QtUninvokable public final void removeTimeRange(io.qt.multimedia.@NonNull QMediaTimeRange arg__1){ removeTimeRange_native_cref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void removeTimeRange_native_cref_QMediaTimeRange(long __this__nativeId, long arg__1); /** *

See QMediaTimeRange::swap(QMediaTimeRange&)

* @param other */ @QtUninvokable public final void swap(io.qt.multimedia.@StrictNonNull QMediaTimeRange other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QMediaTimeRange(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QMediaTimeRange(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QMediaTimeRange(QPrivateConstructor p) { super(p); } /** *

See operator==(QMediaTimeRange,QMediaTimeRange)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.multimedia.QMediaTimeRange) { return equals((io.qt.multimedia.QMediaTimeRange) other); } return false; } /** * Returns the objects's hash code computed by qHash(QMediaTimeRange). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QMediaTimeRange)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QMediaTimeRange::QMediaTimeRange(QMediaTimeRange)

*/ @QtUninvokable @Override public QMediaTimeRange clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QMediaTimeRange clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy