public void RegisterCaptureOverlayStateChangedListener(CaptureOverlayStateListener listener)
 {
     Misc.CheckNotNull(listener);
     GooglePlayGames.Native.PInvoke.CaptureOverlayStateListenerHelper helper = GooglePlayGames.Native.PInvoke.CaptureOverlayStateListenerHelper.Create().SetOnCaptureOverlayStateChangedCallback(delegate(Types.VideoCaptureOverlayState response)
     {
         listener.OnCaptureOverlayStateChanged(ConversionUtils.ConvertNativeVideoCaptureOverlayState(response));
     });
     mManager.RegisterCaptureOverlayStateChangedListener(helper);
 }
 internal void RegisterCaptureOverlayStateChangedListener(CaptureOverlayStateListenerHelper helper)
 {
     GooglePlayGames.Native.Cwrapper.VideoManager.VideoManager_RegisterCaptureOverlayStateChangedListener(mServices.AsHandle(), helper.AsPointer());
 }
Example #3
0
 internal static CaptureOverlayStateListenerHelper Create() =>
 new CaptureOverlayStateListenerHelper(CaptureOverlayStateListenerHelper.CaptureOverlayStateListenerHelper_Construct());
Example #4
0
 internal void RegisterCaptureOverlayStateChangedListener(CaptureOverlayStateListenerHelper helper)
 {
     C.VideoManager_RegisterCaptureOverlayStateChangedListener(mServices.AsHandle(), helper.AsPointer());
 }
Example #5
0
 protected override void CallDispose(HandleRef selfPointer)
 {
     CaptureOverlayStateListenerHelper.CaptureOverlayStateListenerHelper_Dispose(selfPointer);
 }