mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
Merge pull request #1388 from PepperDash/feature/add-IHasWebViewWithPwaMode
Feature/add i has web view with pwa mode
This commit is contained in:
commit
963925ffef
1 changed files with 29 additions and 0 deletions
|
|
@ -36,6 +36,35 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||
event EventHandler<WebViewStatusChangedEventArgs> WebViewStatusChanged;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IHasWebViewWithPwaMode
|
||||
/// </summary>
|
||||
public interface IHasWebViewWithPwaMode : IHasWebView
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates whether the webview is currently in PWA mode
|
||||
/// </summary>
|
||||
bool IsInPwaMode { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the BoolFeedback indicating whether the webview is currently in PWA mode
|
||||
/// </summary>
|
||||
BoolFeedback IsInPwaModeFeedback { get; }
|
||||
|
||||
/// <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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue