/// <summary> /// The Resumed event callback function. /// </summary> /// <param name="source">The application instance.</param> /// <param name="e">The event argument for Resumed.</param> private void OnResumed(object source, NUIApplicationResumedEventArgs e) { Log.Info("NUI", "NUICorebackend OnResumed Called"); var handler = Handlers[EventType.Resumed] as Action; handler?.Invoke(); }
// Callback for Application ResumeSignal private void OnNUIApplicationResume(IntPtr data) { if (_applicationResumeEventHandler != null) { NUIApplicationResumedEventArgs e = new NUIApplicationResumedEventArgs(); e.Application = this; _applicationResumeEventHandler.Invoke(this, e); } }
/// <summary> /// The Resumed event callback function. /// </summary> /// <param name="source">The application instance.</param> /// <param name="e">The event argument for Resumed.</param> private void OnResumed(object source, NUIApplicationResumedEventArgs e) { Tizen.Tracer.Begin("[NUI] OnResumed()"); Log.Info("NUI", "NUICorebackend OnResumed Called"); Tizen.Tracer.Begin("[NUI] OnResumed(): OnResumed event handler"); var handler = Handlers[EventType.Resumed] as Action; handler?.Invoke(); Tizen.Tracer.End(); Tizen.Tracer.End(); }