public static void Init(IDictionary <string, string> trialsFields = null, bool enableInternalTracer = true) { if (trialsFields?.Any() ?? false) { RTCFieldTrials.InitFieldTrialDictionary(trialsFields); } if (enableInternalTracer) { //RTCTracing.RTCStartInternalCapture("log.cs"); } RTCSSLAdapter.RTCInitializeSSL(); Classes.NativeFactory.Init(new NativeFactory()); }
public static void Init(IDictionary <string, string> trialsFields = null, bool enableInternalTracer = true, bool mockSimulatorCamera = true) { if (trialsFields?.Any() ?? false) { RTCFieldTrials.InitFieldTrialDictionary(trialsFields); } if (enableInternalTracer) { RTCTracing.RTCStartInternalCapture("log.txt"); } RTCSSLAdapter.RTCInitializeSSL(); Abstraction.NativeFactory.Init(new NativeFactory(mockSimulatorCamera)); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. // If not required for your application you can safely delete this method RTCFieldTrials.InitFieldTrialDictionary(new Dictionary <string, string>()); RTCSSLAdapter.RTCInitializeSSL(); //RTCTracing.RTCSetupInternalTracer(); //#if DEBUG // RTCLog.SetMinDebugLogLevel(RTCLoggingSeverity.Error); //#endif Window = new UIWindow(UIScreen.MainScreen.Bounds); Window.MakeKeyAndVisible(); SafeAreaInsets = Window.SafeAreaInsets; var root = new UINavigationController(new ARDMainViewController()); root.NavigationBar.Translucent = false; Window.RootViewController = root; return(true); }