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);
 }
Exemplo n.º 2
0
 internal void RegisterCaptureOverlayStateChangedListener(CaptureOverlayStateListenerHelper helper)
 {
     GooglePlayGames.Native.Cwrapper.VideoManager.VideoManager_RegisterCaptureOverlayStateChangedListener(mServices.AsHandle(), helper.AsPointer());
 }
Exemplo n.º 3
0
 internal static CaptureOverlayStateListenerHelper Create() =>
 new CaptureOverlayStateListenerHelper(CaptureOverlayStateListenerHelper.CaptureOverlayStateListenerHelper_Construct());
Exemplo n.º 4
0
 internal void RegisterCaptureOverlayStateChangedListener(CaptureOverlayStateListenerHelper helper)
 {
     C.VideoManager_RegisterCaptureOverlayStateChangedListener(mServices.AsHandle(), helper.AsPointer());
 }
Exemplo n.º 5
0
 protected override void CallDispose(HandleRef selfPointer)
 {
     CaptureOverlayStateListenerHelper.CaptureOverlayStateListenerHelper_Dispose(selfPointer);
 }