internal static void InitializeFactory() {
            // initialize the callback thread processing
            PlayGamesHelperObject.CreateObject();

            //Read the Service ID
            NearbyConnectionsManager.ReadServiceId();

            NearbyConnectionsManagerBuilder sBuilder = new NearbyConnectionsManagerBuilder();
            // The connection manager needs to be initialized before using it, so
            // wait for initialization.
            sBuilder.SetOnInitializationFinished(OnManagerInitialized);
            PlatformConfiguration cfg = NativeClient.CreatePlatformConfiguration();
            Debug.Log("Building manager Now");
            sManager = sBuilder.Build(cfg);
        }
 internal NativeNearbyConnectionsClient(NearbyConnectionsManager manager)
 {
     this.mManager = Misc.CheckNotNull(manager);
 }