xref: /aosp_15_r20/external/accompanist/web/api/current.api (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1// Signature format: 4.0
2package com.google.accompanist.web {
3
4  @Deprecated public class AccompanistWebChromeClient extends android.webkit.WebChromeClient {
5    ctor @Deprecated public AccompanistWebChromeClient();
6    method @Deprecated public com.google.accompanist.web.WebViewState getState();
7    property public com.google.accompanist.web.WebViewState state;
8    field @Deprecated public com.google.accompanist.web.WebViewState state;
9  }
10
11  @Deprecated public class AccompanistWebViewClient extends android.webkit.WebViewClient {
12    ctor @Deprecated public AccompanistWebViewClient();
13    method @Deprecated public com.google.accompanist.web.WebViewNavigator getNavigator();
14    method @Deprecated public com.google.accompanist.web.WebViewState getState();
15    property public com.google.accompanist.web.WebViewNavigator navigator;
16    property public com.google.accompanist.web.WebViewState state;
17    field @Deprecated public com.google.accompanist.web.WebViewNavigator navigator;
18    field @Deprecated public com.google.accompanist.web.WebViewState state;
19  }
20
21  @Deprecated public abstract sealed class LoadingState {
22  }
23
24  @Deprecated public static final class LoadingState.Finished extends com.google.accompanist.web.LoadingState {
25    field @Deprecated public static final com.google.accompanist.web.LoadingState.Finished INSTANCE;
26  }
27
28  @Deprecated public static final class LoadingState.Initializing extends com.google.accompanist.web.LoadingState {
29    field @Deprecated public static final com.google.accompanist.web.LoadingState.Initializing INSTANCE;
30  }
31
32  @Deprecated public static final class LoadingState.Loading extends com.google.accompanist.web.LoadingState {
33    ctor @Deprecated public LoadingState.Loading(float progress);
34    method @Deprecated public float component1();
35    method @Deprecated public com.google.accompanist.web.LoadingState.Loading copy(float progress);
36    method @Deprecated public float getProgress();
37    property public final float progress;
38  }
39
40  @Deprecated public abstract sealed class WebContent {
41    method @Deprecated public final String? getCurrentUrl();
42  }
43
44  @Deprecated public static final class WebContent.Data extends com.google.accompanist.web.WebContent {
45    ctor @Deprecated public WebContent.Data(String data, optional String? baseUrl, optional String encoding, optional String? mimeType, optional String? historyUrl);
46    method @Deprecated public String component1();
47    method @Deprecated public String? component2();
48    method @Deprecated public String component3();
49    method @Deprecated public String? component4();
50    method @Deprecated public String? component5();
51    method @Deprecated public com.google.accompanist.web.WebContent.Data copy(String data, String? baseUrl, String encoding, String? mimeType, String? historyUrl);
52    method @Deprecated public String? getBaseUrl();
53    method @Deprecated public String getData();
54    method @Deprecated public String getEncoding();
55    method @Deprecated public String? getHistoryUrl();
56    method @Deprecated public String? getMimeType();
57    property public final String? baseUrl;
58    property public final String data;
59    property public final String encoding;
60    property public final String? historyUrl;
61    property public final String? mimeType;
62  }
63
64  @Deprecated public static final class WebContent.NavigatorOnly extends com.google.accompanist.web.WebContent {
65    field @Deprecated public static final com.google.accompanist.web.WebContent.NavigatorOnly INSTANCE;
66  }
67
68  @Deprecated public static final class WebContent.Post extends com.google.accompanist.web.WebContent {
69    ctor @Deprecated public WebContent.Post(String url, byte[] postData);
70    method @Deprecated public String component1();
71    method @Deprecated public byte[] component2();
72    method @Deprecated public com.google.accompanist.web.WebContent.Post copy(String url, byte[] postData);
73    method @Deprecated public byte[] getPostData();
74    method @Deprecated public String getUrl();
75    property public final byte[] postData;
76    property public final String url;
77  }
78
79  @Deprecated public static final class WebContent.Url extends com.google.accompanist.web.WebContent {
80    ctor @Deprecated public WebContent.Url(String url, optional java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders);
81    method @Deprecated public String component1();
82    method @Deprecated public java.util.Map<java.lang.String,java.lang.String> component2();
83    method @Deprecated public com.google.accompanist.web.WebContent.Url copy(String url, java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders);
84    method @Deprecated public java.util.Map<java.lang.String,java.lang.String> getAdditionalHttpHeaders();
85    method @Deprecated public String getUrl();
86    property public final java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders;
87    property public final String url;
88  }
89
90  @Deprecated @androidx.compose.runtime.Immutable public final class WebViewError {
91    ctor @Deprecated public WebViewError(android.webkit.WebResourceRequest? request, android.webkit.WebResourceError error);
92    method @Deprecated public android.webkit.WebResourceRequest? component1();
93    method @Deprecated public android.webkit.WebResourceError component2();
94    method @Deprecated public com.google.accompanist.web.WebViewError copy(android.webkit.WebResourceRequest? request, android.webkit.WebResourceError error);
95    method @Deprecated public android.webkit.WebResourceError getError();
96    method @Deprecated public android.webkit.WebResourceRequest? getRequest();
97    property public final android.webkit.WebResourceError error;
98    property public final android.webkit.WebResourceRequest? request;
99  }
100
101  public final class WebViewKt {
102    method @Deprecated @androidx.compose.runtime.Composable public static void WebView(com.google.accompanist.web.WebViewState state, optional androidx.compose.ui.Modifier modifier, optional boolean captureBackPresses, optional com.google.accompanist.web.WebViewNavigator navigator, optional kotlin.jvm.functions.Function1<? super android.webkit.WebView,kotlin.Unit> onCreated, optional kotlin.jvm.functions.Function1<? super android.webkit.WebView,kotlin.Unit> onDispose, optional com.google.accompanist.web.AccompanistWebViewClient client, optional com.google.accompanist.web.AccompanistWebChromeClient chromeClient, optional kotlin.jvm.functions.Function1<? super android.content.Context,? extends android.webkit.WebView>? factory);
103    method @Deprecated @androidx.compose.runtime.Composable public static void WebView(com.google.accompanist.web.WebViewState state, android.widget.FrameLayout.LayoutParams layoutParams, optional androidx.compose.ui.Modifier modifier, optional boolean captureBackPresses, optional com.google.accompanist.web.WebViewNavigator navigator, optional kotlin.jvm.functions.Function1<? super android.webkit.WebView,kotlin.Unit> onCreated, optional kotlin.jvm.functions.Function1<? super android.webkit.WebView,kotlin.Unit> onDispose, optional com.google.accompanist.web.AccompanistWebViewClient client, optional com.google.accompanist.web.AccompanistWebChromeClient chromeClient, optional kotlin.jvm.functions.Function1<? super android.content.Context,? extends android.webkit.WebView>? factory);
104    method @Deprecated public static androidx.compose.runtime.saveable.Saver<com.google.accompanist.web.WebViewState,java.lang.Object> getWebStateSaver();
105    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.web.WebViewState rememberSaveableWebViewState();
106    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.web.WebViewNavigator rememberWebViewNavigator(optional kotlinx.coroutines.CoroutineScope coroutineScope);
107    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.web.WebViewState rememberWebViewState(String url, optional java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders);
108    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.web.WebViewState rememberWebViewState(String url, byte[] postData);
109    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.web.WebViewState rememberWebViewStateWithHTMLData(String data, optional String? baseUrl, optional String encoding, optional String? mimeType, optional String? historyUrl);
110    property @Deprecated public static final androidx.compose.runtime.saveable.Saver<com.google.accompanist.web.WebViewState,java.lang.Object> WebStateSaver;
111  }
112
113  @Deprecated @androidx.compose.runtime.Stable public final class WebViewNavigator {
114    ctor @Deprecated public WebViewNavigator(kotlinx.coroutines.CoroutineScope coroutineScope);
115    method @Deprecated public boolean getCanGoBack();
116    method @Deprecated public boolean getCanGoForward();
117    method @Deprecated public void loadHtml(String html, optional String? baseUrl, optional String? mimeType, optional String? encoding, optional String? historyUrl);
118    method @Deprecated public void loadUrl(String url, optional java.util.Map<java.lang.String,java.lang.String> additionalHttpHeaders);
119    method @Deprecated public void navigateBack();
120    method @Deprecated public void navigateForward();
121    method @Deprecated public void postUrl(String url, byte[] postData);
122    method @Deprecated public void reload();
123    method @Deprecated public void stopLoading();
124    property public final boolean canGoBack;
125    property public final boolean canGoForward;
126  }
127
128  @Deprecated @androidx.compose.runtime.Stable public final class WebViewState {
129    ctor @Deprecated public WebViewState(com.google.accompanist.web.WebContent webContent);
130    method @Deprecated public com.google.accompanist.web.WebContent getContent();
131    method @Deprecated public androidx.compose.runtime.snapshots.SnapshotStateList<com.google.accompanist.web.WebViewError> getErrorsForCurrentRequest();
132    method @Deprecated public String? getLastLoadedUrl();
133    method @Deprecated public com.google.accompanist.web.LoadingState getLoadingState();
134    method @Deprecated public android.graphics.Bitmap? getPageIcon();
135    method @Deprecated public String? getPageTitle();
136    method @Deprecated public android.os.Bundle? getViewState();
137    method @Deprecated public boolean isLoading();
138    method @Deprecated public void setContent(com.google.accompanist.web.WebContent);
139    property public final com.google.accompanist.web.WebContent content;
140    property public final androidx.compose.runtime.snapshots.SnapshotStateList<com.google.accompanist.web.WebViewError> errorsForCurrentRequest;
141    property public final boolean isLoading;
142    property public final String? lastLoadedUrl;
143    property public final com.google.accompanist.web.LoadingState loadingState;
144    property public final android.graphics.Bitmap? pageIcon;
145    property public final String? pageTitle;
146    property public final android.os.Bundle? viewState;
147  }
148
149}
150
151