コード例 #1
0
 static void SetReleaseAvailableCallback(ReleaseAvailableCallback releaseAvailableCallback)
 {
     lock (typeof(Distribute))
     {
         _releaseAvailableCallback = releaseAvailableCallback;
         if (_listener == null && _releaseAvailableCallback != null)
         {
             _listener = new Listener();
             AndroidDistribute.SetListener(_listener);
         }
     }
 }
コード例 #2
0
 static void SetNoReleaseAvailable(NoReleaseAvailableCallback noReleaseAvailable)
 {
     lock (typeof(Distribute))
     {
         _noReleaseAvailableCallback = noReleaseAvailable;
         if (_listener == null && _noReleaseAvailableCallback != null)
         {
             _listener = new Listener();
             AndroidDistribute.SetListener(_listener);
         }
     }
 }