mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
29 lines
760 B
Java
29 lines
760 B
Java
package org.webrtc;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class TurnCustomizer {
|
|
private long nativeTurnCustomizer;
|
|
|
|
private static native void nativeFreeTurnCustomizer(long j);
|
|
|
|
public TurnCustomizer(long j) {
|
|
this.nativeTurnCustomizer = j;
|
|
}
|
|
|
|
public void dispose() {
|
|
checkTurnCustomizerExists();
|
|
nativeFreeTurnCustomizer(this.nativeTurnCustomizer);
|
|
this.nativeTurnCustomizer = 0L;
|
|
}
|
|
|
|
long getNativeTurnCustomizer() {
|
|
checkTurnCustomizerExists();
|
|
return this.nativeTurnCustomizer;
|
|
}
|
|
|
|
private void checkTurnCustomizerExists() {
|
|
if (this.nativeTurnCustomizer == 0) {
|
|
throw new IllegalStateException("TurnCustomizer has been disposed.");
|
|
}
|
|
}
|
|
}
|