Rabbit-R1/android (non root)/java/sources/org/webrtc/PeerConnectionDependencies.java
2024-05-21 17:08:36 -04:00

47 lines
1.6 KiB
Java

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;
}
}