/// <summary> /// Invoked when Application is activated from the background to begin the ConversationalSessionState. /// The application must be registered using LAF and the BackgroundTriggerName must mach the args event. /// </summary> /// <param name="args">The BackgroundTriggerName registered by the application.</param> protected override void OnBackgroundActivated(BackgroundActivatedEventArgs args) { base.OnBackgroundActivated(args); EventBus.ReceivedBackgroundActivation(); }
/// <summary> /// Invoked when the application is activated from either Background or Foreground. Upon Activation, /// Application MainPage is updated. /// </summary> /// <param name="args">RootFrame.</param> protected override void OnActivated(IActivatedEventArgs args) { base.OnActivated(args); EventBus.ReceivedForegroundActivation(); }