mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
47 lines
1.6 KiB
Java
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;
|
|
}
|
|
}
|