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