mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 13:07:18 +00:00
feat: add IHasWebViewWithPwaMode interface with PWA navigation methods
This commit is contained in:
parent
9de14da201
commit
b40200ecae
1 changed files with 25 additions and 0 deletions
|
|
@ -36,6 +36,25 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||
event EventHandler<WebViewStatusChangedEventArgs> WebViewStatusChanged;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IHasWebViewWithPwaMode
|
||||
/// </summary>
|
||||
public interface IHasWebViewWithPwaMode : IHasWebView
|
||||
{
|
||||
/// <summary>
|
||||
/// Sends navigators to the specified PWA URL. Accepts an absolute URL or a relative URL for a mobile control app
|
||||
/// </summary>
|
||||
/// <param name="url">The URL to navigate to</param>
|
||||
void SendNavigatorsToPwaUrl(string url);
|
||||
|
||||
/// <summary>
|
||||
/// Exits navigators from PWA mode
|
||||
/// </summary>
|
||||
void ExitNavigatorsPwaMode();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Represents a WebViewStatusChangedEventArgs
|
||||
/// </summary>
|
||||
|
|
@ -56,3 +75,9 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue