Rabbit-R1/android (non root)/java/sources/org/webrtc/PeerConnectionDependencies.java

48 lines
1.6 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package org.webrtc;
import org.webrtc.PeerConnection;
/* loaded from: classes3.dex */
public final class PeerConnectionDependencies {
private final PeerConnection.Observer observer;
private final SSLCertificateVerifier sslCertificateVerifier;
/* JADX INFO: Access modifiers changed from: package-private */
public PeerConnection.Observer getObserver() {
return this.observer;
}
/* JADX INFO: Access modifiers changed from: package-private */
public SSLCertificateVerifier getSSLCertificateVerifier() {
return this.sslCertificateVerifier;
}
/* loaded from: classes3.dex */
public static class Builder {
private PeerConnection.Observer observer;
private SSLCertificateVerifier sslCertificateVerifier;
public Builder setSSLCertificateVerifier(SSLCertificateVerifier sSLCertificateVerifier) {
this.sslCertificateVerifier = sSLCertificateVerifier;
return this;
}
private Builder(PeerConnection.Observer observer) {
this.observer = observer;
}
public PeerConnectionDependencies createPeerConnectionDependencies() {
return new PeerConnectionDependencies(this.observer, this.sslCertificateVerifier);
}
}
public static Builder builder(PeerConnection.Observer observer) {
return new Builder(observer);
}
private PeerConnectionDependencies(PeerConnection.Observer observer, SSLCertificateVerifier sSLCertificateVerifier) {
this.observer = observer;
this.sslCertificateVerifier = sSLCertificateVerifier;
}
}