> Documentation index: https://developer.android.com/reference/llms.txt

# WebViewBridge

Artifact: [androidx.web:web-compose](https://developer.android.com/jetpack/androidx/releases/web.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/web/compose/WebViewBridge.kt+class:androidx.web.compose.WebViewBridge) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)


```
open class WebViewBridge : WebContentView
```

<br />

|---|---|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||||||
| ↳ | [android.view.View](https://developer.android.com/reference/android/view/View.md.txt) ||||||
|   | ↳ | [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.md.txt) |||||
|   |   | ↳ | [android.widget.AbsoluteLayout](https://developer.android.com/reference/android/widget/AbsoluteLayout.md.txt) ||||
|   |   |   | ↳ | [android.webkit.WebView](https://developer.android.com/reference/android/webkit/WebView.md.txt) |||
|   |   |   |   | ↳ | [androidx.web.WebContentView](https://developer.android.com/reference/kotlin/androidx/web/WebContentView.md.txt) ||
|   |   |   |   |   | ↳ | [androidx.web.compose.WebViewBridge](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge.md.txt) |

*** ** * ** ***

Exposes `android.webkit.WebView` APIs not yet available directly on `WebContent` when presenting via `WebSurface`.

When used with `WebSurface`, instances of `WebViewBridge` must be created within the `bridgeFactory` lambda using the `Context` provided to that factory.

Because presentation, layout, and input are managed by `WebSurface` in Compose, `android.view.View` methods are deprecated on this class and should be replaced with Compose `Modifier`s or `WebContent` APIs.

| See also |
|---|---|
| `WebSurface` |   |
| `WebContent` |   |

## Summary

| ### Public constructors |
|---|
| `WebViewBridge(context: Context)` |
| `[WebViewBridge](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#WebViewBridge(android.content.Context,android.util.AttributeSet))(context: Context, attrs: AttributeSet?)` **This function is deprecated.** WebViewBridge should not be inflated from XML. |
| `[WebViewBridge](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#WebViewBridge(android.content.Context,android.util.AttributeSet,kotlin.Int))(context: Context, attrs: AttributeSet?, defStyleAttr: Int)` **This function is deprecated.** WebViewBridge should not be inflated from XML. |

| ### Public functions |
|---|---|
| `open Unit` | `[addOnAttachStateChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))( listener: View.OnAttachStateChangeListener )` **This function is deprecated.** Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners. |
| `open Unit` | `[addOnLayoutChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(listener: View.OnLayoutChangeListener?)` **This function is deprecated.** Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners. |
| `open Unit` | `@RequiresApi(value = 28) [addOnUnhandledKeyEventListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))( listener: View.OnUnhandledKeyEventListener? )` **This function is deprecated.** Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners. |
| `open Unit` | `[addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View))(child: View?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int))(child: View?, index: Int)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,android.view.ViewGroup.LayoutParams))(child: View?, params: ViewGroup.LayoutParams?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int,android.view.ViewGroup.LayoutParams))(child: View?, index: Int, params: ViewGroup.LayoutParams?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int,kotlin.Int))(child: View?, width: Int, height: Int)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open ViewPropertyAnimator` | `[animate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#animate())()` **This function is deprecated.** Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of ViewPropertyAnimator. |
| `open Unit` | `[bringToFront](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#bringToFront())()` **This function is deprecated.** Use Modifier.zIndex or composition order instead of View.bringToFront. |
| `open Boolean` | `[callOnClick](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#callOnClick())()` **This function is deprecated.** WebView doesn't dispatch View click events for taps on web content. |
| `open Unit` | `[clearAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#clearAnimation())()` **This function is deprecated.** Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations. |
| `open Unit` | `[clearFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#clearFocus())()` **This function is deprecated.** Use LocalFocusManager.current.clearFocus() in Compose instead of View.clearFocus. |
| `open Boolean` | `[dispatchTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#dispatchTouchEvent(android.view.MotionEvent))(ev: MotionEvent?)` **This function is deprecated.** Not called in WebSurface, which delivers touch input to the page directly. |
| `open Unit` | `[invalidateOutline](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#invalidateOutline())()` **This function is deprecated.** Use Modifier.clip or Modifier.graphicsLayer instead of View outline. |
| `open Unit` | `[invokeZoomPicker](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#invokeZoomPicker())()` **This function is deprecated.** View zoom picker is not supported by WebSurface. |
| `open Unit` | `[offsetLeftAndRight](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#offsetLeftAndRight(kotlin.Int))(offset: Int)` **This function is deprecated.** Use Modifier.offset on WebSurface instead of View offset. |
| `open Unit` | `[offsetTopAndBottom](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#offsetTopAndBottom(kotlin.Int))(offset: Int)` **This function is deprecated.** Use Modifier.offset on WebSurface instead of View offset. |
| `open Boolean` | `[onInterceptTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#onInterceptTouchEvent(android.view.MotionEvent))(ev: MotionEvent?)` **This function is deprecated.** Not called in WebSurface, which delivers touch input to the page directly. |
| `open Boolean` | `[onTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#onTouchEvent(android.view.MotionEvent))(event: MotionEvent)` **This function is deprecated.** Not called in WebSurface, which delivers touch input to the page directly. |
| `open Boolean` | `[performClick](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#performClick())()` **This function is deprecated.** WebView doesn't dispatch View click events for taps on web content. |
| `open Unit` | `[removeAllViews](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeAllViews())()` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeAllViewsInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeAllViewsInLayout())()` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeOnAttachStateChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))( listener: View.OnAttachStateChangeListener )` **This function is deprecated.** Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners. |
| `open Unit` | `[removeOnLayoutChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(listener: View.OnLayoutChangeListener?)` **This function is deprecated.** Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners. |
| `open Unit` | `@RequiresApi(value = 28) [removeOnUnhandledKeyEventListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))( listener: View.OnUnhandledKeyEventListener? )` **This function is deprecated.** Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners. |
| `open Unit` | `[removeView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeView(android.view.View))(view: View?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeViewAt](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewAt(kotlin.Int))(index: Int)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeViewInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewInLayout(android.view.View))(view: View?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeViews](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViews(kotlin.Int,kotlin.Int))(start: Int, count: Int)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[removeViewsInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewsInLayout(kotlin.Int,kotlin.Int))(start: Int, count: Int)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Boolean` | `[requestFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#requestFocus(kotlin.Int,android.graphics.Rect))(direction: Int, previouslyFocusedRect: Rect?)` **This function is deprecated.** Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.requestFocus. |
| `open Unit` | `@RequiresApi(value = 28) [resetPivot](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#resetPivot())()` **This function is deprecated.** Use Modifier.graphicsLayer instead of View pivot. |
| `open Boolean` | `@RequiresApi(value = 26) [restoreDefaultFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#restoreDefaultFocus())()` **This function is deprecated.** Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.restoreDefaultFocus. |
| `open Unit` | `@RequiresApi(value = 34) [setAccessibilityDataSensitive](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityDataSensitive(kotlin.Int))(accessibilityDataSensitive: Int)` **This function is deprecated.** Use Modifier.semantics { isSensitiveData = ... } on WebSurface instead of View accessibilityDataSensitive. |
| `open Unit` | `[setAccessibilityDelegate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityDelegate(android.view.View.AccessibilityDelegate))(delegate: View.AccessibilityDelegate?)` **This function is deprecated.** Use Modifier.semantics on WebSurface instead of View AccessibilityDelegate. |
| `open Unit` | `@RequiresApi(value = 28) [setAccessibilityHeading](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityHeading(kotlin.Boolean))(isHeading: Boolean)` **This function is deprecated.** Use Modifier.semantics { heading() } on WebSurface instead of View accessibilityHeading. |
| `open Unit` | `[setAccessibilityLiveRegion](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityLiveRegion(kotlin.Int))(mode: Int)` **This function is deprecated.** Use Modifier.semantics { liveRegion = ... } on WebSurface instead of View accessibilityLiveRegion. |
| `open Unit` | `@RequiresApi(value = 28) [setAccessibilityPaneTitle](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityPaneTitle(kotlin.CharSequence))(accessibilityPaneTitle: CharSequence?)` **This function is deprecated.** Use Modifier.semantics { paneTitle = ... } on WebSurface instead of View accessibilityPaneTitle. |
| `open Unit` | `[setAccessibilityTraversalAfter](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityTraversalAfter(kotlin.Int))(afterId: Int)` **This function is deprecated.** Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalAfter. |
| `open Unit` | `[setAccessibilityTraversalBefore](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityTraversalBefore(kotlin.Int))(beforeId: Int)` **This function is deprecated.** Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalBefore. |
| `open Unit` | `[setAlpha](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAlpha(kotlin.Float))(alpha: Float)` **This function is deprecated.** Use Modifier.alpha instead of View alpha. |
| `open Unit` | `[setAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAnimation(android.view.animation.Animation))(animation: Animation?)` **This function is deprecated.** Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations. |
| `open Unit` | `@RequiresApi(value = 29) [setAnimationMatrix](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAnimationMatrix(android.graphics.Matrix))(matrix: Matrix?)` **This function is deprecated.** Use Modifier.graphicsLayer on WebSurface instead of View animation matrix. |
| `open Unit` | `[setBackground](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackground(android.graphics.drawable.Drawable))(background: Drawable?)` **This function is deprecated.** Use Modifier.background instead of View background. |
| `open Unit` | `[setBackgroundDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundDrawable(android.graphics.drawable.Drawable))(background: Drawable?)` **This function is deprecated.** Use Modifier.background instead of View background. |
| `open Unit` | `[setBackgroundResource](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundResource(kotlin.Int))(resid: Int)` **This function is deprecated.** Use Modifier.background instead of View background. |
| `open Unit` | `@RequiresApi(value = 29) [setBackgroundTintBlendMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintBlendMode(android.graphics.BlendMode))(blendMode: BlendMode?)` **This function is deprecated.** Use Modifier.background instead of View background tint blend mode. |
| `open Unit` | `[setBackgroundTintList](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintList(android.content.res.ColorStateList))(tint: ColorStateList?)` **This function is deprecated.** Use Modifier.background instead of View background tint. |
| `open Unit` | `[setBackgroundTintMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintMode(android.graphics.PorterDuff.Mode))(tintMode: PorterDuff.Mode?)` **This function is deprecated.** Use Modifier.background instead of View background tint mode. |
| `open Unit` | `[setCameraDistance](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setCameraDistance(kotlin.Float))(distance: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View camera distance. |
| `open Unit` | `[setClickable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClickable(kotlin.Boolean))(clickable: Boolean)` **This function is deprecated.** WebView doesn't dispatch View click events for taps on web content. |
| `open Unit` | `[setClipBounds](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipBounds(android.graphics.Rect))(clipBounds: Rect?)` **This function is deprecated.** Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of View clip bounds. |
| `open Unit` | `[setClipChildren](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipChildren(kotlin.Boolean))(clipChildren: Boolean)` **This function is deprecated.** Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of ViewGroup clipping. |
| `open Unit` | `[setClipToOutline](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipToOutline(kotlin.Boolean))(clipToOutline: Boolean)` **This function is deprecated.** Use Modifier.clip on WebSurface instead of View clipping. |
| `open Unit` | `[setClipToPadding](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipToPadding(kotlin.Boolean))(clipToPadding: Boolean)` **This function is deprecated.** Use Modifier.padding and Modifier.clipToBounds on WebSurface instead of ViewGroup clipToPadding. |
| `open Unit` | `[setContentDescription](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setContentDescription(kotlin.CharSequence))(contentDescription: CharSequence?)` **This function is deprecated.** Use Modifier.semantics { contentDescription = ... } on WebSurface instead of View contentDescription. |
| `open Unit` | `[setContextClickable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setContextClickable(kotlin.Boolean))(contextClickable: Boolean)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of View contextClickable. |
| `open Unit` | `@RequiresApi(value = 26) [setDefaultFocusHighlightEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setDefaultFocusHighlightEnabled(kotlin.Boolean))(defaultFocusHighlightEnabled: Boolean)` **This function is deprecated.** Use Compose focus indication Modifiers on WebSurface instead of View.setDefaultFocusHighlightEnabled. |
| `open Unit` | `[setElevation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setElevation(kotlin.Float))(elevation: Float)` **This function is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View elevation. |
| `open Unit` | `[setEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setEnabled(kotlin.Boolean))(enabled: Boolean)` **This function is deprecated.** Control interaction and enabled semantics via Compose Modifiers on WebSurface instead of View.setEnabled. |
| `open Unit` | `[setFadingEdgeLength](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFadingEdgeLength(kotlin.Int))(length: Int)` **This function is deprecated.** View fading edges are not drawn by WebSurface. |
| `open Unit` | `[setFilterTouchesWhenObscured](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFilterTouchesWhenObscured(kotlin.Boolean))(enabled: Boolean)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface to filter obscured touches instead of View.setFilterTouchesWhenObscured. |
| `open Unit` | `[setFitsSystemWindows](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFitsSystemWindows(kotlin.Boolean))(fitSystemWindows: Boolean)` **This function is deprecated.** Use Compose WindowInsets Modifiers on WebSurface instead of View fitsSystemWindows. |
| `open Unit` | `[setFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusable(kotlin.Boolean))(focusable: Boolean)` **This function is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable. |
| `open Unit` | `@RequiresApi(value = 26) [setFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusable(kotlin.Int))(focusable: Int)` **This function is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable. |
| `open Unit` | `[setFocusableInTouchMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusableInTouchMode(kotlin.Boolean))(focusableInTouchMode: Boolean)` **This function is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusableInTouchMode. |
| `open Unit` | `@RequiresApi(value = 26) [setFocusedByDefault](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusedByDefault(kotlin.Boolean))(isFocusedByDefault: Boolean)` **This function is deprecated.** Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.setFocusedByDefault. |
| `open Unit` | `@RequiresApi(value = 29) [setForceDarkAllowed](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForceDarkAllowed(kotlin.Boolean))(allow: Boolean)` **This function is deprecated.** View force dark is not supported by WebSurface. |
| `open Unit` | `[setForeground](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForeground(android.graphics.drawable.Drawable))(foreground: Drawable?)` **This function is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground. |
| `open Unit` | `[setForegroundGravity](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundGravity(kotlin.Int))(gravity: Int)` **This function is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground gravity. |
| `open Unit` | `@RequiresApi(value = 29) [setForegroundTintBlendMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintBlendMode(android.graphics.BlendMode))(blendMode: BlendMode?)` **This function is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint blend mode. |
| `open Unit` | `[setForegroundTintList](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintList(android.content.res.ColorStateList))(tint: ColorStateList?)` **This function is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint. |
| `open Unit` | `[setForegroundTintMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintMode(android.graphics.PorterDuff.Mode))(tintMode: PorterDuff.Mode?)` **This function is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint mode. |
| `open Unit` | `@RequiresApi(value = 35) [setFrameContentVelocity](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFrameContentVelocity(kotlin.Float))(pixelsPerSecond: Float)` **This function is deprecated.** Use Modifier.preferredFrameRate on WebSurface instead of View frameContentVelocity. |
| `open Unit` | `[setHorizontalFadingEdgeEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalFadingEdgeEnabled(kotlin.Boolean))(horizontalFadingEdgeEnabled: Boolean)` **This function is deprecated.** View fading edges are not drawn by WebSurface. |
| `open Unit` | `[setHorizontalScrollBarEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollBarEnabled(kotlin.Boolean))(horizontalScrollBarEnabled: Boolean)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `@RequiresApi(value = 29) [setHorizontalScrollbarThumbDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `@RequiresApi(value = 29) [setHorizontalScrollbarTrackDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setImportantForAccessibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setImportantForAccessibility(kotlin.Int))(mode: Int)` **This function is deprecated.** Use Modifier.semantics or Modifier.clearAndSetSemantics on WebSurface instead of View importantForAccessibility. |
| `open Unit` | `[setKeepScreenOn](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setKeepScreenOn(kotlin.Boolean))(keepScreenOn: Boolean)` **This function is deprecated.** Use Modifier.keepScreenOn on WebSurface instead of View keepScreenOn. |
| `open Unit` | `@RequiresApi(value = 26) [setKeyboardNavigationCluster](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setKeyboardNavigationCluster(kotlin.Boolean))(isCluster: Boolean)` **This function is deprecated.** Use Modifier.focusGroup on WebSurface instead of View.setKeyboardNavigationCluster. |
| `open Unit` | `[setLabelFor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLabelFor(kotlin.Int))(id: Int)` **This function is deprecated.** Use Modifier.semantics on WebSurface instead of View labelFor. |
| `open Unit` | `[setLayerPaint](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayerPaint(android.graphics.Paint))(paint: Paint?)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View layer paint. |
| `open Unit` | `[setLayerType](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayerType(kotlin.Int,android.graphics.Paint))(layerType: Int, paint: Paint?)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View layer type. |
| `open Unit` | `[setLayoutParams](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayoutParams(android.view.ViewGroup.LayoutParams))(params: ViewGroup.LayoutParams?)` **This function is deprecated.** Use Compose size and layout Modifiers on WebSurface instead of LayoutParams. |
| `open Unit` | `[setMinimumHeight](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setMinimumHeight(kotlin.Int))(minHeight: Int)` **This function is deprecated.** Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum height. |
| `open Unit` | `[setMinimumWidth](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setMinimumWidth(kotlin.Int))(minWidth: Int)` **This function is deprecated.** Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum width. |
| `open Unit` | `@RequiresApi(value = 26) [setNextClusterForwardId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextClusterForwardId(kotlin.Int))(nextClusterForwardId: Int)` **This function is deprecated.** Use Modifier.focusProperties on WebSurface instead of View.setNextClusterForwardId. |
| `open Unit` | `[setNextFocusDownId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusDownId(kotlin.Int))(nextFocusDownId: Int)` **This function is deprecated.** Use Modifier.focusProperties { down = ... } on WebSurface instead of View.setNextFocusDownId. |
| `open Unit` | `[setNextFocusForwardId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusForwardId(kotlin.Int))(nextFocusForwardId: Int)` **This function is deprecated.** Use Modifier.focusProperties { next = ... } on WebSurface instead of View.setNextFocusForwardId. |
| `open Unit` | `[setNextFocusLeftId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusLeftId(kotlin.Int))(nextFocusLeftId: Int)` **This function is deprecated.** Use Modifier.focusProperties { left = ... } on WebSurface instead of View.setNextFocusLeftId. |
| `open Unit` | `[setNextFocusRightId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusRightId(kotlin.Int))(nextFocusRightId: Int)` **This function is deprecated.** Use Modifier.focusProperties { right = ... } on WebSurface instead of View.setNextFocusRightId. |
| `open Unit` | `[setNextFocusUpId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusUpId(kotlin.Int))(nextFocusUpId: Int)` **This function is deprecated.** Use Modifier.focusProperties { up = ... } on WebSurface instead of View.setNextFocusUpId. |
| `open Unit` | `[setOnApplyWindowInsetsListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener))( listener: View.OnApplyWindowInsetsListener? )` **This function is deprecated.** Use Compose WindowInsets Modifiers on WebSurface instead of View window insets listeners. |
| `open Unit` | `@RequiresApi(value = 26) [setOnCapturedPointerListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnCapturedPointerListener(android.view.View.OnCapturedPointerListener))(l: View.OnCapturedPointerListener?)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of View captured pointer listeners. |
| `open Unit` | `[setOnClickListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnClickListener(android.view.View.OnClickListener))(l: View.OnClickListener?)` **This function is deprecated.** WebView doesn't dispatch View click events for taps on web content. |
| `open Unit` | `[setOnContextClickListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnContextClickListener(android.view.View.OnContextClickListener))(l: View.OnContextClickListener?)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of View context click listeners. |
| `open Unit` | `[setOnDragListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnDragListener(android.view.View.OnDragListener))(l: View.OnDragListener?)` **This function is deprecated.** Use Modifier.dragAndDropTarget on WebSurface instead of View drag listeners. |
| `open Unit` | `[setOnFocusChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnFocusChangeListener(android.view.View.OnFocusChangeListener))(l: View.OnFocusChangeListener?)` **This function is deprecated.** Use Modifier.onFocusChanged or Modifier.onFocusEvent on WebSurface instead of View focus change listeners. |
| `open Unit` | `[setOnGenericMotionListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnGenericMotionListener(android.view.View.OnGenericMotionListener))(l: View.OnGenericMotionListener?)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of View generic motion listeners. |
| `open Unit` | `[setOnHierarchyChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener))( listener: ViewGroup.OnHierarchyChangeListener? )` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |
| `open Unit` | `[setOnHoverListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnHoverListener(android.view.View.OnHoverListener))(l: View.OnHoverListener?)` **This function is deprecated.** Use Compose pointer input Modifiers or Modifier.hoverable on WebSurface instead of View hover listeners. |
| `open Unit` | `[setOnKeyListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnKeyListener(android.view.View.OnKeyListener))(l: View.OnKeyListener?)` **This function is deprecated.** Use Modifier.onKeyEvent or Modifier.onPreviewKeyEvent on WebSurface instead of View key listeners. |
| `open Unit` | `[setOnTouchListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnTouchListener(android.view.View.OnTouchListener))(l: View.OnTouchListener?)` **This function is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of touch listeners. |
| `open Unit` | `@RequiresApi(value = 28) [setOutlineAmbientShadowColor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineAmbientShadowColor(kotlin.Int))(color: Int)` **This function is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color. |
| `open Unit` | `[setOutlineProvider](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineProvider(android.view.ViewOutlineProvider))(provider: ViewOutlineProvider?)` **This function is deprecated.** Use Modifier.clip or Modifier.graphicsLayer instead of View outline provider. |
| `open Unit` | `@RequiresApi(value = 28) [setOutlineSpotShadowColor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineSpotShadowColor(kotlin.Int))(color: Int)` **This function is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color. |
| `open Unit` | `[setOverScrollMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOverScrollMode(kotlin.Int))(mode: Int)` **This function is deprecated.** WebSurface passes overscroll to parents through nested scrolling. |
| `open Unit` | `[setPadding](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPadding(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int))(left: Int, top: Int, right: Int, bottom: Int)` **This function is deprecated.** Use Modifier.padding on WebSurface instead of View padding. |
| `open Unit` | `[setPaddingRelative](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPaddingRelative(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int))(start: Int, top: Int, end: Int, bottom: Int)` **This function is deprecated.** Use Modifier.padding on WebSurface instead of View padding. |
| `open Unit` | `[setPivotX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPivotX(kotlin.Float))(pivotX: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View pivot. |
| `open Unit` | `[setPivotY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPivotY(kotlin.Float))(pivotY: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View pivot. |
| `open Unit` | `[setPointerIcon](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPointerIcon(android.view.PointerIcon))(pointerIcon: PointerIcon?)` **This function is deprecated.** Use Modifier.pointerHoverIcon on WebSurface instead of View pointerIcon. |
| `open Unit` | `@RequiresApi(value = 31) [setRenderEffect](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRenderEffect(android.graphics.RenderEffect))(renderEffect: RenderEffect?)` **This function is deprecated.** Use Modifier.graphicsLayer or Modifier.blur instead of View RenderEffect. |
| `open Unit` | `@RequiresApi(value = 35) [setRequestedFrameRate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRequestedFrameRate(kotlin.Float))(frameRate: Float)` **This function is deprecated.** Use Modifier.preferredFrameRate on WebSurface instead of View requestedFrameRate. |
| `open Unit` | `[setRotation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotation(kotlin.Float))(rotation: Float)` **This function is deprecated.** Use Modifier.rotate or Modifier.graphicsLayer instead of View rotation. |
| `open Unit` | `[setRotationX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotationX(kotlin.Float))(rotationX: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View rotation. |
| `open Unit` | `[setRotationY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotationY(kotlin.Float))(rotationY: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View rotation. |
| `open Unit` | `[setScaleX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScaleX(kotlin.Float))(scaleX: Float)` **This function is deprecated.** Use Modifier.scale or Modifier.graphicsLayer instead of View scale. |
| `open Unit` | `[setScaleY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScaleY(kotlin.Float))(scaleY: Float)` **This function is deprecated.** Use Modifier.scale or Modifier.graphicsLayer instead of View scale. |
| `open Unit` | `@RequiresApi(value = 28) [setScreenReaderFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScreenReaderFocusable(kotlin.Boolean))(screenReaderFocusable: Boolean)` **This function is deprecated.** Use Modifier.semantics(mergeDescendants = true) on WebSurface instead of View screenReaderFocusable. |
| `open Unit` | `[setScrollBarDefaultDelayBeforeFade](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarDefaultDelayBeforeFade(kotlin.Int))( scrollBarDefaultDelayBeforeFade: Int )` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setScrollBarFadeDuration](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarFadeDuration(kotlin.Int))(scrollBarFadeDuration: Int)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setScrollBarSize](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarSize(kotlin.Int))(scrollBarSize: Int)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setScrollBarStyle](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarStyle(kotlin.Int))(style: Int)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setScrollIndicators](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollIndicators(kotlin.Int))(indicators: Int)` **This function is deprecated.** View scroll indicators are not drawn by WebSurface. |
| `open Unit` | `[setScrollIndicators](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollIndicators(kotlin.Int,kotlin.Int))(indicators: Int, mask: Int)` **This function is deprecated.** View scroll indicators are not drawn by WebSurface. |
| `open Unit` | `[setScrollbarFadingEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollbarFadingEnabled(kotlin.Boolean))(fadeScrollbars: Boolean)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `@RequiresApi(value = 30) [setStateDescription](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setStateDescription(kotlin.CharSequence))(stateDescription: CharSequence?)` **This function is deprecated.** Use Modifier.semantics { stateDescription = ... } on WebSurface instead of View stateDescription. |
| `open Unit` | `[setStateListAnimator](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setStateListAnimator(android.animation.StateListAnimator))(stateListAnimator: StateListAnimator?)` **This function is deprecated.** Use Compose animation APIs on WebSurface instead of View StateListAnimator. |
| `open Unit` | `@RequiresApi(value = 29) [setSystemGestureExclusionRects](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setSystemGestureExclusionRects(kotlin.collections.MutableList))(rects: MutableList<Rect>)` **This function is deprecated.** Use Modifier.systemGestureExclusion on WebSurface instead of View system gesture exclusion rects. |
| `open Unit` | `@RequiresApi(value = 26) [setTooltipText](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTooltipText(kotlin.CharSequence))(tooltipText: CharSequence?)` **This function is deprecated.** Use Compose Tooltip APIs on WebSurface instead of View tooltip text. |
| `open Unit` | `@RequiresApi(value = 29) [setTransitionAlpha](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTransitionAlpha(kotlin.Float))(alpha: Float)` **This function is deprecated.** Use Modifier.alpha instead of View transition alpha. |
| `open Unit` | `@RequiresApi(value = 29) [setTransitionVisibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTransitionVisibility(kotlin.Int))(visibility: Int)` **This function is deprecated.** Use conditional composition instead of View visibility. |
| `open Unit` | `[setTranslationX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationX(kotlin.Float))(translationX: Float)` **This function is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View translation. |
| `open Unit` | `[setTranslationY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationY(kotlin.Float))(translationY: Float)` **This function is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View translation. |
| `open Unit` | `[setTranslationZ](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationZ(kotlin.Float))(translationZ: Float)` **This function is deprecated.** Use Modifier.graphicsLayer instead of View translation. |
| `open Unit` | `[setVerticalFadingEdgeEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalFadingEdgeEnabled(kotlin.Boolean))(verticalFadingEdgeEnabled: Boolean)` **This function is deprecated.** View fading edges are not drawn by WebSurface. |
| `open Unit` | `[setVerticalScrollBarEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollBarEnabled(kotlin.Boolean))(verticalScrollBarEnabled: Boolean)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setVerticalScrollbarPosition](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarPosition(kotlin.Int))(position: Int)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `@RequiresApi(value = 29) [setVerticalScrollbarThumbDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `@RequiresApi(value = 29) [setVerticalScrollbarTrackDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?)` **This function is deprecated.** View scrollbars are not drawn by WebSurface. |
| `open Unit` | `[setVisibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVisibility(kotlin.Int))(visibility: Int)` **This function is deprecated.** Use conditional composition instead of View visibility. |
| `open Unit` | `[setWebChromeClient](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setWebChromeClient(android.webkit.WebChromeClient))(client: WebChromeClient?)` **This function is deprecated.** Use WebChromeClientBridge instead of WebChromeClient with WebViewBridge. |
| `open Unit` | `setWebChromeClient(client: WebChromeClientBridge?)` Sets the `WebChromeClientBridge` that will receive notifications and requests from this `WebViewBridge`. |
| `open Unit` | `@RequiresApi(value = 30) [setWindowInsetsAnimationCallback](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setWindowInsetsAnimationCallback(android.view.WindowInsetsAnimation.Callback))( callback: WindowInsetsAnimation.Callback? )` **This function is deprecated.** Use Compose WindowInsets Modifiers on WebSurface instead of View window insets animation callbacks. |
| `open Unit` | `[setX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setX(kotlin.Float))(x: Float)` **This function is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View position. |
| `open Unit` | `[setY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setY(kotlin.Float))(y: Float)` **This function is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View position. |
| `open Unit` | `[setZ](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setZ(kotlin.Float))(z: Float)` **This function is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View z-order. |
| `open Unit` | `[startAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#startAnimation(android.view.animation.Animation))(animation: Animation?)` **This function is deprecated.** Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations. |
| `open Unit` | `[updateViewLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#updateViewLayout(android.view.View,android.view.ViewGroup.LayoutParams))(view: View?, params: ViewGroup.LayoutParams?)` **This function is deprecated.** Child Views added to WebViewBridge are not drawn or interactive in WebSurface. |

### Inherited functions

From [android.widget.AbsoluteLayout](https://developer.android.com/reference/android/widget/AbsoluteLayout.md.txt) `Boolean` `checkLayoutParams(p: ViewGroup.LayoutParams)` `ViewGroup.LayoutParams` `generateDefaultLayoutParams()` `ViewGroup.LayoutParams` `generateLayoutParams(attrs: AttributeSet)` `ViewGroup.LayoutParams` `generateLayoutParams(p: ViewGroup.LayoutParams)` `Unit` `onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int)` From [android.view.View](https://developer.android.com/reference/android/view/View.md.txt) `Unit` `addFocusables(views: ArrayList<View>, direction: Int)` `Unit` `announceForAccessibility(text: CharSequence)` `Unit` `autofill(value: AutofillValue)` `Boolean` `awakenScrollBars()` `Boolean` `awakenScrollBars(startDelay: Int)` `Boolean` `awakenScrollBars(startDelay: Int, invalidate: Boolean)` `Unit` `buildDrawingCache()` `Unit` `buildDrawingCache(autoScale: Boolean)` `Unit` `buildLayer()` `open Boolean` `canResolveLayoutDirection()` `open Boolean` `canResolveTextAlignment()` `open Boolean` `canResolveTextDirection()` `Boolean` `canScrollHorizontally(direction: Int)` `Boolean` `canScrollVertically(direction: Int)` `Unit` `cancelDragAndDrop()` `Unit` `cancelLongPress()` `Unit` `cancelPendingInputEvents()` `Boolean` `checkInputConnectionProxy(view: View)` `Unit` `clearPendingCredentialRequest()` `Unit` `clearViewTranslationCallback()` `Int` `computeHorizontalScrollExtent()` `WindowInsets` `computeSystemWindowInsets(in: WindowInsets, outLocalInsets: Rect)` `AccessibilityNodeInfo` `createAccessibilityNodeInfo()` `open Unit` `createContextMenu(menu: ContextMenu)` `Unit` `destroyDrawingCache()` `Boolean` `dispatchGenericMotionEvent(event: MotionEvent)` `Boolean` `dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean)` `Boolean` `dispatchNestedPreFling(velocityX: Float, velocityY: Float)` `Boolean` `dispatchNestedPrePerformAccessibilityAction(
action: Int,
arguments: Bundle?
)` `Boolean` `dispatchNestedPreScroll(
dx: Int,
dy: Int,
consumed: IntArray?,
offsetInWindow: IntArray?
)` `Boolean` `dispatchNestedScroll(
dxConsumed: Int,
dyConsumed: Int,
dxUnconsumed: Int,
dyUnconsumed: Int,
offsetInWindow: IntArray?
)` `Boolean` `dispatchPopulateAccessibilityEvent(event: AccessibilityEvent)` `Unit` `draw(canvas: Canvas)` `Unit` `drawableHotspotChanged(x: Float, y: Float)` `OnBackInvokedDispatcher?` `findOnBackInvokedDispatcher()` `T` `<T : View> findViewById(id: Int)` `T` `<T : View> findViewWithTag(tag: Any)` `Boolean` `fitSystemWindows(insets: Rect)` `View` `focusSearch(direction: Int)` `Unit` `forceHasOverlappingRendering(hasOverlappingRendering: Boolean)` `Unit` `forceLayout()` `Unit` `generateDisplayHash(
hashAlgorithm: String,
bounds: Rect?,
executor: Executor,
callback: DisplayHashResultCallback
)` `IntArray` `getAttributeResolutionStack(attribute: Int)` `Boolean` `getClipBounds(outRect: Rect)` `Bitmap` `getDrawingCache(autoScale: Boolean)` `Unit` `getDrawingRect(outRect: Rect)` `ArrayList<View>` `getFocusables(direction: Int)` `Unit` `getFocusedRect(r: Rect)` `Boolean` `getGlobalVisibleRect(r: Rect)` `Boolean` `getGlobalVisibleRect(r: Rect, globalOffset: Point)` `Unit` `getHitRect(outRect: Rect)` `open Int` `@ViewDebug.ExportedProperty(category = "layout", mapping = [@ViewDebug.IntToString(from = 0, to = "RESOLVED_DIRECTION_LTR"), @ViewDebug.IntToString(from = 1, to = "RESOLVED_DIRECTION_RTL")])
getLayoutDirection()` `Boolean` `getLocalVisibleRect(r: Rect)` `Unit` `getLocationInSurface(location: IntArray)` `Unit` `getLocationInWindow(outLocation: IntArray)` `Unit` `getLocationOnScreen(outLocation: IntArray)` `ViewParent` `getParent()` `open ViewParent` `getParentForAccessibility()` `Any` `getTag(key: Int)` `open Int` `@ViewDebug.ExportedProperty(category = "text", mapping = [@ViewDebug.IntToString(from = 0, to = "INHERIT"), @ViewDebug.IntToString(from = 1, to = "GRAVITY"), @ViewDebug.IntToString(from = 2, to = "TEXT_START"), @ViewDebug.IntToString(from = 3, to = "TEXT_END"), @ViewDebug.IntToString(from = 4, to = "CENTER"), @ViewDebug.IntToString(from = 5, to = "VIEW_START"), @ViewDebug.IntToString(from = 6, to = "VIEW_END")])
getTextAlignment()` `open Int` `@ViewDebug.ExportedProperty(category = "text", mapping = [@ViewDebug.IntToString(from = 0, to = "INHERIT"), @ViewDebug.IntToString(from = 1, to = "FIRST_STRONG"), @ViewDebug.IntToString(from = 2, to = "ANY_RTL"), @ViewDebug.IntToString(from = 3, to = "LTR"), @ViewDebug.IntToString(from = 4, to = "RTL"), @ViewDebug.IntToString(from = 5, to = "LOCALE"), @ViewDebug.IntToString(from = 6, to = "FIRST_STRONG_LTR"), @ViewDebug.IntToString(from = 7, to = "FIRST_STRONG_RTL")])
getTextDirection()` `Unit` `getWindowVisibleDisplayFrame(outRect: Rect)` `Boolean` `hasExplicitFocusable()` `Boolean` `hasFocusable()` `Boolean` `hasNestedScrollingParent()` `Boolean` `hasOnClickListeners()` `Boolean` `hasOnLongClickListeners()` `Boolean` `hasOverlappingRendering()` `Boolean` `hasPointerCapture()` `Boolean` `hasWindowFocus()` `Unit` `invalidate()` `Unit` `invalidate(dirty: Rect)` `Unit` `invalidate(l: Int, t: Int, r: Int, b: Int)` `Unit` `invalidateDrawable(drawable: Drawable)` `open Boolean` `isLayoutDirectionResolved()` `open Boolean` `isLayoutRequested()` `open Boolean` `isTextAlignmentResolved()` `open Boolean` `isTextDirectionResolved()` `open View` `keyboardNavigationClusterSearch(currentCluster: View, direction: Int)` `Unit` `measure(widthMeasureSpec: Int, heightMeasureSpec: Int)` `Unit` `onAnimationEnd()` `Unit` `onAnimationStart()` `Unit` `onCancelPendingInputEvents()` `Boolean` `onCapturedPointerEvent(event: MotionEvent)` `Unit` `onCreateContextMenu(menu: ContextMenu)` `Unit` `onCreateViewTranslationRequest(
supportedFormats: IntArray,
requestsCollector: Consumer<ViewTranslationRequest>
)` `Unit` `onDisplayHint(hint: Int)` `Unit` `onDrawForeground(canvas: Canvas)` `Unit` `onDrawScrollBars(canvas: Canvas)` `Boolean` `onFilterTouchEventForSecurity(event: MotionEvent)` `Unit` `onFinishInflate()` `Unit` `onHoverChanged(hovered: Boolean)` `Unit` `onInitializeAccessibilityEvent(event: AccessibilityEvent)` `Unit` `onInitializeAccessibilityNodeInfo(info: AccessibilityNodeInfo)` `Boolean` `onKeyLongPress(keyCode: Int, event: KeyEvent)` `Boolean` `onKeyPreIme(keyCode: Int, event: KeyEvent)` `Boolean` `onKeyShortcut(keyCode: Int, event: KeyEvent)` `Unit` `onPointerCaptureChange(hasCapture: Boolean)` `Unit` `onPopulateAccessibilityEvent(event: AccessibilityEvent)` `Unit` `onProvideAutofillStructure(structure: ViewStructure, flags: Int)` `Unit` `onProvideContentCaptureNodeProperties(
properties: ContentCaptureNodeProperties
)` `Unit` `onProvideStructure(structure: ViewStructure)` `ContentInfo?` `onReceiveContent(payload: ContentInfo)` `Unit` `onRestoreInstanceState(state: Parcelable)` `Unit` `onRtlPropertiesChanged(layoutDirection: Int)` `Parcelable?` `onSaveInstanceState()` `Unit` `onScreenStateChanged(screenState: Int)` `Unit` `onScrollCaptureSearch(
localVisibleRect: Rect,
windowOffset: Point,
targets: Consumer<ScrollCaptureTarget>
)` `Boolean` `onSetAlpha(alpha: Int)` `Unit` `onViewTranslationResponse(response: ViewTranslationResponse)` `Unit` `onVisibilityAggregated(isVisible: Boolean)` `Unit` `onWindowSystemUiVisibilityChanged(visible: Int)` `Boolean` `overScrollBy(
deltaX: Int,
deltaY: Int,
scrollX: Int,
scrollY: Int,
scrollRangeX: Int,
scrollRangeY: Int,
maxOverScrollX: Int,
maxOverScrollY: Int,
isTouchEvent: Boolean
)` `Boolean` `performAccessibilityAction(action: Int, arguments: Bundle?)` `Boolean` `performContextClick()` `Boolean` `performContextClick(x: Float, y: Float)` `Boolean` `performHapticFeedback(feedbackConstant: Int)` `Boolean` `performHapticFeedback(request: HapticFeedbackRequest)` `Boolean` `performHapticFeedback(feedbackConstant: Int, flags: Int)` `Boolean` `performLongClick(x: Float, y: Float)` `ContentInfo?` `performReceiveContent(payload: ContentInfo)` `Unit` `playSoundEffect(soundConstant: Int)` `Boolean` `post(action: Runnable)` `Boolean` `postDelayed(action: Runnable, delayMillis: Long)` `Unit` `postInvalidate()` `Unit` `postInvalidate(left: Int, top: Int, right: Int, bottom: Int)` `Unit` `postInvalidateDelayed(delayMilliseconds: Long)` `Unit` `postInvalidateDelayed(
delayMilliseconds: Long,
left: Int,
top: Int,
right: Int,
bottom: Int
)` `Unit` `postInvalidateOnAnimation()` `Unit` `postInvalidateOnAnimation(left: Int, top: Int, right: Int, bottom: Int)` `Unit` `postOnAnimation(action: Runnable)` `Unit` `postOnAnimationDelayed(action: Runnable, delayMillis: Long)` `Unit` `refreshDrawableState()` `Unit` `releasePointerCapture()` `Boolean` `removeCallbacks(action: Runnable)` `Unit` `reportAppJankStats(appJankStats: AppJankStats)` `Unit` `requestApplyInsets()` `open Unit` `[requestFitSystemWindows](https://developer.android.com/reference/android/view/View.md.txt#requestFitSystemWindows())()`

**This function is deprecated.** Deprecated in Java
`Boolean` `requestFocus()` `Boolean` `requestFocus(direction: Int)` `Boolean` `requestFocusFromTouch()` `open Unit` `requestLayout()` `Unit` `requestPointerCapture()` `Unit` `requestPointerCapture(mode: Int)` `Boolean` `requestRectangleOnScreen(rectangle: Rect)` `Boolean` `requestRectangleOnScreen(rectangle: Rect, immediate: Boolean)` `Boolean` `requestRectangleOnScreen(rectangle: Rect, immediate: Boolean, source: Int)` `Unit` `requestUnbufferedDispatch(event: MotionEvent)` `Unit` `requestUnbufferedDispatch(source: Int)` `T` `<T : View> requireViewById(id: Int)` `Unit` `restoreHierarchyState(container: SparseArray<Parcelable>)` `Unit` `saveAttributeDataForStyleable(
context: Context,
styleable: IntArray,
attrs: AttributeSet?,
t: TypedArray,
defStyleAttr: Int,
defStyleRes: Int
)` `Unit` `saveHierarchyState(container: SparseArray<Parcelable>)` `Unit` `scheduleDrawable(who: Drawable, what: Runnable, when: Long)` `Unit` `scrollBy(x: Int, y: Int)` `Unit` `scrollTo(x: Int, y: Int)` `Unit` `sendAccessibilityEvent(eventType: Int)` `Unit` `sendAccessibilityEventUnchecked(event: AccessibilityEvent)` `Unit` `setAllowClickWhenDisabled(clickableWhenDisabled: Boolean)` `Unit` `setAllowedHandwritingDelegatePackage(allowedPackageName: String?)` `Unit` `setAllowedHandwritingDelegatorPackage(allowedPackageName: String?)` `Unit` `setAutofillHints(vararg autofillHints: String)` `Unit` `setBackdropRenderEffect(renderEffect: RenderEffect?)` `Unit` `setHandwritingBoundsOffsets(
offsetLeft: Float,
offsetTop: Float,
offsetRight: Float,
offsetBottom: Float
)` `Unit` `setHasTransientState(hasTransientState: Boolean)` `Unit` `setIsCredential(isCredential: Boolean)` `Unit` `setIsHandwritingDelegate(isHandwritingDelegate: Boolean)` `Unit` `setLeftTopRightBottom(left: Int, top: Int, right: Int, bottom: Int)` `Unit` `setMeasuredDimension(measuredWidth: Int, measuredHeight: Int)` `Unit` `setOnCreateContextMenuListener(l: View.OnCreateContextMenuListener)` `Unit` `setOnLongClickListener(l: View.OnLongClickListener?)` `Unit` `setOnReceiveContentListener(
mimeTypes: Array<String>?,
listener: OnReceiveContentListener?
)` `Unit` `setOnScrollChangeListener(l: View.OnScrollChangeListener)` `Unit` `setOnSystemUiVisibilityChangeListener(
l: View.OnSystemUiVisibilityChangeListener
)` `Unit` `setPendingCredentialRequest(
request: GetCredentialRequest,
callback: OutcomeReceiver<GetCredentialResponse, GetCredentialException>
)` `Unit` `setScrollCaptureCallback(callback: ScrollCaptureCallback?)` `Unit` `setTag(key: Int, tag: Any)` `Unit` `setViewTranslationCallback(callback: ViewTranslationCallback)` `Unit` `setWillNotCacheDrawing(willNotCacheDrawing: Boolean)` `Unit` `setWillNotDraw(willNotDraw: Boolean)` `Boolean` `showContextMenu()` `Boolean` `showContextMenu(x: Float, y: Float)` `ActionMode` `startActionMode(callback: ActionMode.Callback)` `ActionMode` `startActionMode(callback: ActionMode.Callback, type: Int)` `Boolean` `startDrag(
data: ClipData,
shadowBuilder: View.DragShadowBuilder,
myLocalState: Any,
flags: Int
)` `Boolean` `startDragAndDrop(
data: ClipData,
shadowBuilder: View.DragShadowBuilder,
myLocalState: Any,
flags: Int
)` `Boolean` `startNestedScroll(axes: Int)` `Unit` `stopNestedScroll()` `open String` `toString()` `Unit` `transformMatrixToGlobal(matrix: Matrix)` `Unit` `transformMatrixToLocal(matrix: Matrix)` `Unit` `unscheduleDrawable(who: Drawable)` `Unit` `unscheduleDrawable(who: Drawable, what: Runnable)` `Unit` `updateDragShadow(shadowBuilder: View.DragShadowBuilder)` `Boolean` `verifyDrawable(who: Drawable)` `Boolean` `willNotCacheDrawing()` `Boolean` `willNotDraw()` From [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) `Unit` `addChildrenForAccessibility(outChildren: ArrayList<View>)` `Unit` `addExtraDataToAccessibilityNodeInfo(
info: AccessibilityNodeInfo,
extraDataKey: String,
arguments: Bundle?
)` `Unit` `addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)` `Unit` `addKeyboardNavigationClusters(
views: MutableCollection<View>,
direction: Int
)` `Boolean` `addStatesFromChildren()` `Unit` `addTouchables(views: ArrayList<View>)` `Boolean` `addViewInLayout(child: View, index: Int, params: ViewGroup.LayoutParams)` `Boolean` `addViewInLayout(
child: View,
index: Int,
params: ViewGroup.LayoutParams,
preventRequestLayout: Boolean
)` `Unit` `attachLayoutAnimationParameters(
child: View,
params: ViewGroup.LayoutParams,
index: Int,
count: Int
)` `Unit` `attachViewToParent(child: View, index: Int, params: ViewGroup.LayoutParams)` `Unit` `bringChildToFront(child: View)` `Boolean` `canAnimate()` `Unit` `childDrawableStateChanged(child: View)` `Unit` `childHasTransientStateChanged(
child: View,
childHasTransientState: Boolean
)` `Unit` `cleanupLayoutState(child: View)` `Unit` `clearChildFocus(child: View)` `Unit` `clearDisappearingChildren()` `Unit` `debug(depth: Int)` `Unit` `detachAllViewsFromParent()` `Unit` `detachViewFromParent(child: View)` `Unit` `detachViewFromParent(index: Int)` `Unit` `detachViewsFromParent(start: Int, count: Int)` `WindowInsets` `dispatchApplyWindowInsets(insets: WindowInsets)` `Boolean` `dispatchCapturedPointerEvent(event: MotionEvent)` `Unit` `dispatchConfigurationChanged(newConfig: Configuration)` `Unit` `dispatchDisplayHint(hint: Int)` `Boolean` `dispatchDragEvent(event: DragEvent)` `Unit` `dispatchDrawableHotspotChanged(x: Float, y: Float)` `Unit` `dispatchFinishTemporaryDetach()` `Unit` `dispatchFreezeSelfOnly(container: SparseArray<Parcelable>)` `Boolean` `dispatchGenericFocusedEvent(event: MotionEvent)` `Boolean` `dispatchGenericPointerEvent(event: MotionEvent)` `Boolean` `dispatchHoverEvent(event: MotionEvent)` `Boolean` `dispatchKeyEventPreIme(event: KeyEvent)` `Boolean` `dispatchKeyShortcutEvent(event: KeyEvent)` `Unit` `dispatchPointerCaptureChanged(hasCapture: Boolean)` `Unit` `dispatchProvideAutofillStructure(structure: ViewStructure, flags: Int)` `Unit` `dispatchProvideStructure(structure: ViewStructure)` `Unit` `dispatchRestoreInstanceState(container: SparseArray<Parcelable>)` `Unit` `dispatchSaveInstanceState(container: SparseArray<Parcelable>)` `Unit` `dispatchScrollCaptureSearch(
localVisibleRect: Rect,
windowOffset: Point,
targets: Consumer<ScrollCaptureTarget>
)` `Unit` `dispatchSetActivated(activated: Boolean)` `Unit` `dispatchSetPressed(pressed: Boolean)` `Unit` `dispatchSetSelected(selected: Boolean)` `Unit` `dispatchStartTemporaryDetach()` `Unit` `dispatchSystemUiVisibilityChanged(visible: Int)` `Unit` `dispatchThawSelfOnly(container: SparseArray<Parcelable>)` `Boolean` `dispatchTrackballEvent(event: MotionEvent)` `Boolean` `dispatchUnhandledMove(focused: View, direction: Int)` `Unit` `dispatchVisibilityChanged(changedView: View, visibility: Int)` `Unit` `dispatchWindowFocusChanged(hasFocus: Boolean)` `Unit` `dispatchWindowInsetsAnimationEnd(animation: WindowInsetsAnimation)` `Unit` `dispatchWindowInsetsAnimationPrepare(animation: WindowInsetsAnimation)` `WindowInsets` `dispatchWindowInsetsAnimationProgress(
insets: WindowInsets,
runningAnimations: MutableList<WindowInsetsAnimation>
)` `WindowInsetsAnimation.Bounds` `dispatchWindowInsetsAnimationStart(
animation: WindowInsetsAnimation,
bounds: WindowInsetsAnimation.Bounds
)` `Unit` `dispatchWindowSystemUiVisiblityChanged(visible: Int)` `Unit` `dispatchWindowVisibilityChanged(visibility: Int)` `Boolean` `drawChild(canvas: Canvas, child: View, drawingTime: Long)` `Unit` `drawableStateChanged()` `Unit` `endViewTransition(view: View)` `OnBackInvokedDispatcher?` `findOnBackInvokedDispatcherForChild(child: View, requester: View)` `Unit` `findViewsWithText(
outViews: ArrayList<View>,
text: CharSequence,
flags: Int
)` `View` `focusSearch(focused: View, direction: Int)` `Unit` `focusableViewAvailable(v: View)` `Boolean` `gatherTransparentRegion(region: Region?)` `View` `getChildAt(index: Int)` `Int` `getChildDrawingOrder(drawingPosition: Int)` `Int` `getChildDrawingOrder(childCount: Int, drawingPosition: Int)` `Boolean` `getChildStaticTransformation(child: View, t: Transformation)` `Boolean` `getChildVisibleRect(child: View, r: Rect, offset: Point)` `Boolean` `hasFocus()` `Boolean` `hasTransientState()` `Int` `indexOfChild(child: View)` `Unit` `invalidateChild(child: View, dirty: Rect)` `ViewParent` `invalidateChildInParent(location: IntArray, dirty: Rect)` `Unit` `jumpDrawablesToCurrentState()` `Unit` `layout(l: Int, t: Int, r: Int, b: Int)` `Unit` `measureChild(
child: View,
parentWidthMeasureSpec: Int,
parentHeightMeasureSpec: Int
)` `Unit` `measureChildWithMargins(
child: View,
parentWidthMeasureSpec: Int,
widthUsed: Int,
parentHeightMeasureSpec: Int,
heightUsed: Int
)` `Unit` `measureChildren(widthMeasureSpec: Int, heightMeasureSpec: Int)` `Unit` `notifySubtreeAccessibilityStateChanged(
child: View,
source: View,
changeType: Int
)` `Unit` `offsetDescendantRectToMyCoords(descendant: View, rect: Rect)` `Unit` `offsetRectIntoDescendantCoords(descendant: View, rect: Rect)` `IntArray` `onCreateDrawableState(extraSpace: Int)` `Unit` `onDescendantInvalidated(child: View, target: View)` `Unit` `onDetachedFromWindow()` `Boolean` `onInterceptHoverEvent(event: MotionEvent)` `Boolean` `onNestedFling(
target: View,
velocityX: Float,
velocityY: Float,
consumed: Boolean
)` `Boolean` `onNestedPreFling(target: View, velocityX: Float, velocityY: Float)` `Boolean` `onNestedPrePerformAccessibilityAction(
target: View,
action: Int,
args: Bundle?
)` `Unit` `onNestedPreScroll(target: View, dx: Int, dy: Int, consumed: IntArray)` `Unit` `onNestedScroll(
target: View,
dxConsumed: Int,
dyConsumed: Int,
dxUnconsumed: Int,
dyUnconsumed: Int
)` `Unit` `onNestedScrollAccepted(child: View, target: View, axes: Int)` `Boolean` `onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect)` `Boolean` `onRequestSendAccessibilityEvent(child: View, event: AccessibilityEvent)` `Boolean` `onStartNestedScroll(child: View, target: View, nestedScrollAxes: Int)` `Unit` `onStopNestedScroll(child: View)` `Unit` `onViewAdded(child: View)` `Unit` `onViewRemoved(child: View)` `Unit` `propagateRequestedFrameRate(frameRate: Float, forceOverride: Boolean)` `Unit` `recomputeViewAttributes(child: View)` `Unit` `removeDetachedView(child: View, animate: Boolean)` `Unit` `requestChildFocus(child: View, focused: View)` `Unit` `requestDisallowInterceptTouchEvent(disallowIntercept: Boolean)` `Boolean` `requestSendAccessibilityEvent(child: View, event: AccessibilityEvent)` `Unit` `requestTransparentRegion(child: View)` `Unit` `scheduleLayoutAnimation()` `Unit` `setAddStatesFromChildren(addsStates: Boolean)` `Unit` `setChildrenDrawingCacheEnabled(enabled: Boolean)` `Unit` `setStaticTransformationsEnabled(enabled: Boolean)` `Boolean` `showContextMenuForChild(originalView: View)` `Boolean` `showContextMenuForChild(originalView: View, x: Float, y: Float)` `ActionMode` `startActionModeForChild(
originalView: View,
callback: ActionMode.Callback
)` `ActionMode` `startActionModeForChild(
originalView: View,
callback: ActionMode.Callback,
type: Int
)` `Unit` `startLayoutAnimation()` `Unit` `startViewTransition(view: View)` `Unit` `suppressLayout(suppress: Boolean)` From [android.view.ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) `Boolean` `requestChildRectangleOnScreen(
child: View,
rectangle: Rect,
immediate: Boolean,
source: Int
)` From [android.webkit.WebView](https://developer.android.com/reference/android/webkit/WebView.html) `Unit` `addJavascriptInterface(object: Any, name: String)` `Unit` `autofill(values: SparseArray<AutofillValue>)` `Boolean` `canGoBack()` `Boolean` `canGoBackOrForward(steps: Int)` `Boolean` `canGoForward()` `Boolean` `canZoomIn()` `Boolean` `canZoomOut()` `Picture` `capturePicture()` `Unit` `clearCache(includeDiskFiles: Boolean)` `Unit` `clearFormData()` `Unit` `clearHistory()` `Unit` `clearMatches()` `Unit` `clearSslPreferences()` `Unit` `clearView()` `Int` `computeHorizontalScrollOffset()` `Int` `computeHorizontalScrollRange()` `Unit` `computeScroll()` `Int` `computeVerticalScrollExtent()` `Int` `computeVerticalScrollOffset()` `Int` `computeVerticalScrollRange()` `WebBackForwardList` `copyBackForwardList()` `PrintDocumentAdapter` `createPrintDocumentAdapter()` `PrintDocumentAdapter` `createPrintDocumentAdapter(documentName: String)` `Array<WebMessagePort>` `createWebMessageChannel()` `Unit` `destroy()` `Unit` `dispatchCreateViewTranslationRequest(
viewIds: MutableMap<AutofillId, LongArray>,
supportedFormats: IntArray,
capability: TranslationCapability?,
requests: MutableList<ViewTranslationRequest>
)` `Unit` `dispatchDraw(canvas: Canvas)` `Boolean` `dispatchKeyEvent(event: KeyEvent)` `Unit` `documentHasImages(response: Message)` `Unit` `evaluateJavascript(script: String, resultCallback: ValueCallback<String>?)` `Int` `findAll(find: String)` `Unit` `findAllAsync(find: String)` `View` `findFocus()` `Unit` `findNext(forward: Boolean)` `Unit` `flingScroll(vx: Int, vy: Int)` `Unit` `freeMemory()` `Array<String>?` `getHttpAuthUsernamePassword(host: String, realm: String)` `Unit` `goBack()` `Unit` `goBackOrForward(steps: Int)` `Unit` `goForward()` `Boolean` `isVisibleToUserForAutofill(virtualId: Int)` `Unit` `loadData(data: String, mimeType: String?, encoding: String?)` `Unit` `loadDataWithBaseURL(
baseUrl: String?,
data: String,
mimeType: String?,
encoding: String?,
historyUrl: String?
)` `Unit` `loadUrl(url: String)` `Unit` `loadUrl(url: String, additionalHttpHeaders: MutableMap<String, String>)` `WindowInsets` `onApplyWindowInsets(insets: WindowInsets)` `Unit` `onAttachedToWindow()` `Boolean` `onCheckIsTextEditor()` `Unit` `onChildViewAdded(parent: View, child: View)` `Unit` `onChildViewRemoved(p: View, child: View)` `Unit` `onConfigurationChanged(newConfig: Configuration)` `InputConnection` `onCreateInputConnection(outAttrs: EditorInfo)` `Unit` `onCreateVirtualViewTranslationRequests(
virtualIds: LongArray,
supportedFormats: IntArray,
requestsCollector: Consumer<ViewTranslationRequest>
)` `Boolean` `onDragEvent(event: DragEvent)` `Unit` `onDraw(canvas: Canvas)` `Unit` `onFinishTemporaryDetach()` `Unit` `onFocusChanged(
focused: Boolean,
direction: Int,
previouslyFocusedRect: Rect?
)` `Boolean` `onGenericMotionEvent(event: MotionEvent)` `Unit` `onGlobalFocusChanged(oldFocus: View, newFocus: View)` `Boolean` `onHoverEvent(event: MotionEvent)` `Boolean` `onKeyDown(keyCode: Int, event: KeyEvent)` `Boolean` `onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent)` `Boolean` `onKeyUp(keyCode: Int, event: KeyEvent)` `Unit` `onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)` `Unit` `onOverScrolled(
scrollX: Int,
scrollY: Int,
clampedX: Boolean,
clampedY: Boolean
)` `Unit` `onPause()` `Unit` `onProvideAutofillVirtualStructure(structure: ViewStructure, flags: Int)` `Unit` `onProvideContentCaptureStructure(structure: ViewStructure, flags: Int)` `Unit` `onProvideVirtualStructure(structure: ViewStructure)` `PointerIcon` `onResolvePointerIcon(event: MotionEvent, pointerIndex: Int)` `Unit` `onResume()` `Unit` `onScrollChanged(l: Int, t: Int, oldl: Int, oldt: Int)` `Unit` `onSizeChanged(w: Int, h: Int, ow: Int, oh: Int)` `Unit` `onStartTemporaryDetach()` `Boolean` `onTrackballEvent(event: MotionEvent)` `Unit` `onVirtualViewTranslationResponses(
response: LongSparseArray<ViewTranslationResponse>
)` `Unit` `onVisibilityChanged(changedView: View, visibility: Int)` `Unit` `onWindowFocusChanged(hasWindowFocus: Boolean)` `Unit` `onWindowVisibilityChanged(visibility: Int)` `Boolean` `overlayHorizontalScrollbar()` `Boolean` `overlayVerticalScrollbar()` `Boolean` `pageDown(bottom: Boolean)` `Boolean` `pageUp(top: Boolean)` `Unit` `pauseTimers()` `Boolean` `performLongClick()` `Unit` `postUrl(url: String, postData: ByteArray)` `Unit` `postVisualStateCallback(
requestId: Long,
callback: WebView.VisualStateCallback
)` `Unit` `postWebMessage(message: WebMessage, targetOrigin: Uri)` `Unit` `reload()` `Unit` `removeJavascriptInterface(name: String)` `Boolean` `requestChildRectangleOnScreen(child: View, rect: Rect, immediate: Boolean)` `Unit` `requestFocusNodeHref(hrefMsg: Message?)` `Unit` `requestImageRef(msg: Message)` `WebBackForwardList?` `restoreState(inState: Bundle)` `Unit` `resumeTimers()` `Unit` `savePassword(host: String, username: String, password: String)` `WebBackForwardList?` `saveState(outState: Bundle)` `Unit` `saveWebArchive(filename: String)` `Unit` `saveWebArchive(
basename: String,
autoname: Boolean,
callback: ValueCallback<String>?
)` `Unit` `setBackgroundColor(color: Int)` `Unit` `setDownloadListener(listener: DownloadListener?)` `Unit` `setFindListener(listener: WebView.FindListener?)` `Unit` `setHorizontalScrollbarOverlay(overlay: Boolean)` `Unit` `setHttpAuthUsernamePassword(
host: String,
realm: String,
username: String,
password: String
)` `Unit` `setInitialScale(scaleInPercent: Int)` `Unit` `setMapTrackballToArrowKeys(setMap: Boolean)` `Unit` `setNetworkAvailable(networkUp: Boolean)` `Unit` `setPictureListener(listener: WebView.PictureListener)` `Unit` `setRendererPriorityPolicy(
rendererRequestedPriority: Int,
waivedWhenNotVisible: Boolean
)` `Unit` `setTextClassifier(textClassifier: TextClassifier?)` `Unit` `setVerticalScrollbarOverlay(overlay: Boolean)` `Unit` `setWebViewRenderProcessClient(
executor: Executor,
webViewRenderProcessClient: WebViewRenderProcessClient
)` `Boolean` `shouldDelayChildPressedState()` `Boolean` `showFindDialog(text: String?, showIme: Boolean)` `Unit` `stopLoading()` `Unit` `zoomBy(zoomFactor: Float)` `Boolean` `zoomIn()` `Boolean` `zoomOut()`

### Inherited properties

From [android.view.View](https://developer.android.com/reference/android/view/View.md.txt) `open View.AccessibilityDelegate` `accessibilityDelegate`

**The setter for this property is deprecated.** Use Modifier.semantics on WebSurface instead of View AccessibilityDelegate.
`open Int` `accessibilityLiveRegion`

**The setter for this property is deprecated.** Use Modifier.semantics { liveRegion = ... } on WebSurface instead of View accessibilityLiveRegion.
`open CharSequence?` `accessibilityPaneTitle`

**The setter for this property is deprecated.** Use Modifier.semantics { paneTitle = ... } on WebSurface instead of View accessibilityPaneTitle.
`open Int` `accessibilityTraversalAfter`

**The setter for this property is deprecated.** Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalAfter.
`open Int` `accessibilityTraversalBefore`

**The setter for this property is deprecated.** Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalBefore.
`open String?` `allowedHandwritingDelegatePackageName` `open String?` `allowedHandwritingDelegatorPackageName` `open Float` `alpha`

**The setter for this property is deprecated.** Use Modifier.alpha instead of View alpha.
`open Animation` `animation`

**The setter for this property is deprecated.** Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.
`open Matrix?` `animationMatrix`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer on WebSurface instead of View animation matrix.
`open IBinder` `applicationWindowToken` `open MutableMap<Int, Int>` `attributeSourceResourceMap` `open Array<String>?` `autofillHints` `AutofillId` `autofillId` `open Int` `autofillType` `open AutofillValue?` `autofillValue` `open Drawable` `background`

**The setter for this property is deprecated.** Use Modifier.background instead of View background.
`open BlendMode?` `backgroundTintBlendMode`

**The setter for this property is deprecated.** Use Modifier.background instead of View background tint blend mode.
`open ColorStateList?` `backgroundTintList`

**The setter for this property is deprecated.** Use Modifier.background instead of View background tint.
`open PorterDuff.Mode?` `backgroundTintMode`

**The setter for this property is deprecated.** Use Modifier.background instead of View background tint mode.
`open Int` `baseline` `Int` `bottom` `open Float` `bottomFadingEdgeStrength` `open Int` `bottomPaddingOffset` `open Float` `cameraDistance`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View camera distance.
`open Rect` `clipBounds`

**The setter for this property is deprecated.** Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of View clip bounds.
`Boolean` `clipToOutline`

**The setter for this property is deprecated.** Use Modifier.clip on WebSurface instead of View clipping.
`ContentCaptureSession?` `contentCaptureSession` `open CharSequence` `contentDescription`

**The setter for this property is deprecated.** Use Modifier.semantics { contentDescription = ... } on WebSurface instead of View contentDescription.
`Int` `contentSensitivity` `Context` `context` `open ContextMenu.ContextMenuInfo` `contextMenuInfo` `Boolean` `defaultFocusHighlightEnabled`

**The setter for this property is deprecated.** Use Compose focus indication Modifiers on WebSurface instead of View.setDefaultFocusHighlightEnabled.
`open Display` `display` `IntArray` `drawableState` `open Bitmap` `drawingCache`

**This property is deprecated.** Deprecated in Java
`open Int` `drawingCacheBackgroundColor`

**This property is deprecated.** Deprecated in Java
`open Int` `drawingCacheQuality`

**This property is deprecated.** Deprecated in Java
`open Long` `drawingTime` `open Float` `elevation`

**The setter for this property is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View elevation.
`open Int` `explicitStyle` `open Boolean` `filterTouchesWhenObscured`

**The setter for this property is deprecated.** Use Compose pointer input Modifiers on WebSurface to filter obscured touches instead of View.setFilterTouchesWhenObscured.
`open Boolean` `fitsSystemWindows`

**The setter for this property is deprecated.** Use Compose WindowInsets Modifiers on WebSurface instead of View fitsSystemWindows.
`open Int` `focusable`

**The setter for this property is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.
`open Drawable` `foreground`

**The setter for this property is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground.
`open Int` `foregroundGravity`

**The setter for this property is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground gravity.
`open BlendMode?` `foregroundTintBlendMode`

**The setter for this property is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint blend mode.
`open ColorStateList?` `foregroundTintList`

**The setter for this property is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint.
`open PorterDuff.Mode?` `foregroundTintMode`

**The setter for this property is deprecated.** Use Modifier.drawWithContent on WebSurface instead of View foreground tint mode.
`open Float` `frameContentVelocity`

**The setter for this property is deprecated.** Use Modifier.preferredFrameRate on WebSurface instead of View frameContentVelocity.
`open Float` `handwritingBoundsOffsetBottom` `open Float` `handwritingBoundsOffsetLeft` `open Float` `handwritingBoundsOffsetRight` `open Float` `handwritingBoundsOffsetTop` `open Int` `handwritingDelegateFlags` `open Runnable?` `handwritingDelegatorCallback` `Boolean` `hasOverlappingRendering` `Int` `height` `open Int` `horizontalFadingEdgeLength` `open Int` `horizontalScrollbarHeight` `open Drawable?` `horizontalScrollbarThumbDrawable`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Drawable?` `horizontalScrollbarTrackDrawable`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `id` `open Int` `importantForAccessibility`

**The setter for this property is deprecated.** Use Modifier.semantics or Modifier.clearAndSetSemantics on WebSurface instead of View importantForAccessibility.
`open Int` `importantForAutofill` `open Int` `importantForContentCapture` `open Boolean` `isAccessibilityDataSensitive` `open Boolean` `isAccessibilityFocused` `open Boolean` `isAccessibilityHeading`

**The setter for this property is deprecated.** Use Modifier.semantics { heading() } on WebSurface instead of View accessibilityHeading.
`open Boolean` `isActivated` `open Boolean` `isAttachedToWindow` `open Boolean` `isAutoHandwritingEnabled` `open Boolean` `isClickable`

**The setter for this property is deprecated.** WebView doesn't dispatch View click events for taps on web content.
`open Boolean` `isContentCaptureSelfReportingEnabled` `Boolean` `isContentSensitive` `open Boolean` `isContextClickable`

**The setter for this property is deprecated.** Use Compose pointer input Modifiers on WebSurface instead of View contextClickable.
`open Boolean` `isCredential`

**This property is deprecated.** Deprecated in Java
`open Boolean` `isDirty` `open Boolean` `isDrawingCacheEnabled`

**This property is deprecated.** Deprecated in Java
`open Boolean` `isDuplicateParentStateEnabled` `open Boolean` `isEnabled`

**The setter for this property is deprecated.** Control interaction and enabled semantics via Compose Modifiers on WebSurface instead of View.setEnabled.
`Boolean` `isFocusable`

**The setter for this property is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.
`Boolean` `isFocusableInTouchMode`

**The setter for this property is deprecated.** Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusableInTouchMode.
`open Boolean` `isFocused` `Boolean` `isFocusedByDefault`

**The setter for this property is deprecated.** Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.setFocusedByDefault.
`open Boolean` `isForceDarkAllowed`

**The setter for this property is deprecated.** View force dark is not supported by WebSurface.
`open Boolean` `isHandwritingDelegate` `open Boolean` `isHapticFeedbackEnabled` `open Boolean` `isHardwareAccelerated` `open Boolean` `isHorizontalFadingEdgeEnabled`

**The setter for this property is deprecated.** View fading edges are not drawn by WebSurface.
`open Boolean` `isHorizontalScrollBarEnabled`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Boolean` `isHovered` `open Boolean` `isImportantForAccessibility` `Boolean` `isImportantForAutofill` `Boolean` `isImportantForContentCapture` `open Boolean` `isInEditMode` `open Boolean` `isInLayout` `open Boolean` `isInTouchMode` `Boolean` `isKeyboardNavigationCluster`

**The setter for this property is deprecated.** Use Modifier.focusGroup on WebSurface instead of View.setKeyboardNavigationCluster.
`open Boolean` `isLaidOut` `open Boolean` `isLayoutDirectionResolved` `open Boolean` `isLayoutRequested` `open Boolean` `isLongClickable` `open Boolean` `isNestedScrollingEnabled` `open Boolean` `isOpaque` `open Boolean` `isPaddingOffsetRequired` `open Boolean` `isPaddingRelative` `open Boolean` `isPivotSet` `Boolean` `isPreferKeepClear` `open Boolean` `isPressed` `open Boolean` `isSaveEnabled` `open Boolean` `isSaveFromParentEnabled` `open Boolean` `isScreenReaderFocusable`

**The setter for this property is deprecated.** Use Modifier.semantics(mergeDescendants = true) on WebSurface instead of View screenReaderFocusable.
`open Boolean` `isScrollContainer` `open Boolean` `isScrollbarFadingEnabled`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Boolean` `isSelected` `Boolean` `isShowingLayoutBounds` `open Boolean` `isShown` `open Boolean` `isSoundEffectsEnabled` `Boolean` `isTemporarilyDetached` `open Boolean` `isTextAlignmentResolved` `open Boolean` `isTextDirectionResolved` `open Boolean` `isVerticalFadingEdgeEnabled`

**The setter for this property is deprecated.** View fading edges are not drawn by WebSurface.
`open Boolean` `isVerticalScrollBarEnabled`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Boolean` `keepScreenOn`

**The setter for this property is deprecated.** Use Modifier.keepScreenOn on WebSurface instead of View keepScreenOn.
`open KeyEvent.DispatcherState` `keyDispatcherState` `open Int` `labelFor`

**The setter for this property is deprecated.** Use Modifier.semantics on WebSurface instead of View labelFor.
`open Int` `layerType` `open Int` `layoutDirection` `open ViewGroup.LayoutParams` `layoutParams`

**The setter for this property is deprecated.** Use Compose size and layout Modifiers on WebSurface instead of LayoutParams.
`Int` `left` `open Float` `leftFadingEdgeStrength` `open Int` `leftPaddingOffset` `open Matrix` `matrix` `Int` `measuredHeight` `Int` `measuredHeightAndState` `Int` `measuredState` `Int` `measuredWidth` `Int` `measuredWidthAndState` `open Int` `minimumHeight`

**The setter for this property is deprecated.** Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum height.
`open Int` `minimumWidth`

**The setter for this property is deprecated.** Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum width.
`open Int` `nextClusterForwardId`

**The setter for this property is deprecated.** Use Modifier.focusProperties on WebSurface instead of View.setNextClusterForwardId.
`open Int` `nextFocusDownId`

**The setter for this property is deprecated.** Use Modifier.focusProperties { down = ... } on WebSurface instead of View.setNextFocusDownId.
`open Int` `nextFocusForwardId`

**The setter for this property is deprecated.** Use Modifier.focusProperties { next = ... } on WebSurface instead of View.setNextFocusForwardId.
`open Int` `nextFocusLeftId`

**The setter for this property is deprecated.** Use Modifier.focusProperties { left = ... } on WebSurface instead of View.setNextFocusLeftId.
`open Int` `nextFocusRightId`

**The setter for this property is deprecated.** Use Modifier.focusProperties { right = ... } on WebSurface instead of View.setNextFocusRightId.
`open Int` `nextFocusUpId`

**The setter for this property is deprecated.** Use Modifier.focusProperties { up = ... } on WebSurface instead of View.setNextFocusUpId.
`open View.OnFocusChangeListener` `onFocusChangeListener`

**The setter for this property is deprecated.** Use Modifier.onFocusChanged or Modifier.onFocusEvent on WebSurface instead of View focus change listeners.
`open Int` `outlineAmbientShadowColor`

**The setter for this property is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.
`open ViewOutlineProvider` `outlineProvider`

**The setter for this property is deprecated.** Use Modifier.clip or Modifier.graphicsLayer instead of View outline provider.
`open Int` `outlineSpotShadowColor`

**The setter for this property is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.
`open Int` `overScrollMode`

**The setter for this property is deprecated.** WebSurface passes overscroll to parents through nested scrolling.
`open Int` `paddingBottom` `open Int` `paddingEnd` `open Int` `paddingLeft` `open Int` `paddingRight` `open Int` `paddingStart` `open Int` `paddingTop` `final ViewParent` `parent` `open ViewParent` `parentForAccessibility` `OutcomeReceiver<GetCredentialResponse, GetCredentialException>?` `pendingCredentialCallback` `GetCredentialRequest?` `pendingCredentialRequest` `open Float` `pivotX`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View pivot.
`open Float` `pivotY`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View pivot.
`open PointerIcon` `pointerIcon`

**The setter for this property is deprecated.** Use Modifier.pointerHoverIcon on WebSurface instead of View pointerIcon.
`MutableList<Rect>` `preferKeepClearRects` `open Array<String>?` `receiveContentMimeTypes` `open Float` `requestedFrameRate`

**The setter for this property is deprecated.** Use Modifier.preferredFrameRate on WebSurface instead of View requestedFrameRate.
`open Resources` `resources` `Boolean` `revealOnFocusHint` `Int` `right` `open Float` `rightFadingEdgeStrength` `open Int` `rightPaddingOffset` `open AttachedSurfaceControl?` `rootSurfaceControl` `open View` `rootView` `open WindowInsets` `rootWindowInsets` `open Float` `rotation`

**The setter for this property is deprecated.** Use Modifier.rotate or Modifier.graphicsLayer instead of View rotation.
`open Float` `rotationX`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View rotation.
`open Float` `rotationY`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View rotation.
`open Float` `scaleX`

**The setter for this property is deprecated.** Use Modifier.scale or Modifier.graphicsLayer instead of View scale.
`open Float` `scaleY`

**The setter for this property is deprecated.** Use Modifier.scale or Modifier.graphicsLayer instead of View scale.
`open Int` `scrollBarDefaultDelayBeforeFade`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `scrollBarFadeDuration`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `scrollBarSize`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `scrollBarStyle`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `scrollCaptureHint` `open Int` `scrollIndicators`

**The setter for this property is deprecated.** View scroll indicators are not drawn by WebSurface.
`Int` `scrollX` `Int` `scrollY` `open Int` `solidColor` `open Int` `sourceLayoutResId` `CharSequence?` `stateDescription`

**The setter for this property is deprecated.** Use Modifier.semantics { stateDescription = ... } on WebSurface instead of View stateDescription.
`open StateListAnimator` `stateListAnimator`

**The setter for this property is deprecated.** Use Compose animation APIs on WebSurface instead of View StateListAnimator.
`open Int` `suggestedMinimumHeight` `open Int` `suggestedMinimumWidth` `open CharSequence?` `supplementalDescription` `open MutableList<Rect>` `systemGestureExclusionRects`

**The setter for this property is deprecated.** Use Modifier.systemGestureExclusion on WebSurface instead of View system gesture exclusion rects.
`open Int` `systemUiVisibility`

**This property is deprecated.** Deprecated in Java
`open Any` `tag` `open Int` `textAlignment` `open Int` `textDirection` `open CharSequence?` `tooltipText`

**The setter for this property is deprecated.** Use Compose Tooltip APIs on WebSurface instead of View tooltip text.
`Int` `top` `open Float` `topFadingEdgeStrength` `open Int` `topPaddingOffset` `open TouchDelegate` `touchDelegate` `open ArrayList<View>` `touchables` `open Float` `transitionAlpha`

**The setter for this property is deprecated.** Use Modifier.alpha instead of View transition alpha.
`open String` `transitionName` `open Float` `translationX`

**The setter for this property is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View translation.
`open Float` `translationY`

**The setter for this property is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View translation.
`open Float` `translationZ`

**The setter for this property is deprecated.** Use Modifier.graphicsLayer instead of View translation.
`open Long` `uniqueDrawingId` `open Int` `verticalFadingEdgeLength` `open Int` `verticalScrollbarPosition`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Drawable?` `verticalScrollbarThumbDrawable`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Drawable?` `verticalScrollbarTrackDrawable`

**The setter for this property is deprecated.** View scrollbars are not drawn by WebSurface.
`open Int` `verticalScrollbarWidth` `open ViewTranslationResponse?` `viewTranslationResponse` `open ViewTreeObserver` `viewTreeObserver` `open Int` `visibility`

**The setter for this property is deprecated.** Use conditional composition instead of View visibility.
`Int` `width` `open Int` `windowAttachCount` `open WindowId` `windowId` `open WindowInsetsController?` `windowInsetsController` `open Int` `windowSystemUiVisibility`

**This property is deprecated.** Deprecated in Java
`open IBinder` `windowToken` `open Int` `windowVisibility` `open Float` `x`

**The setter for this property is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View position.
`open Float` `y`

**The setter for this property is deprecated.** Use Modifier.offset or Modifier.graphicsLayer instead of View position.
`open Float` `z`

**The setter for this property is deprecated.** Use Modifier.shadow or Modifier.graphicsLayer instead of View z-order.
From [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.md.txt) `open Int` `childCount` `open Boolean` `clipChildren`

**The setter for this property is deprecated.** Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of ViewGroup clipping.
`open Boolean` `clipToPadding`

**The setter for this property is deprecated.** Use Modifier.padding and Modifier.clipToBounds on WebSurface instead of ViewGroup clipToPadding.
`open Int` `descendantFocusability` `open View` `focusedChild` `open Boolean` `isAlwaysDrawnWithCacheEnabled`

**This property is deprecated.** Deprecated in Java
`open Boolean` `isAnimationCacheEnabled`

**This property is deprecated.** Deprecated in Java
`open Boolean` `isChildrenDrawingOrderEnabled` `open Boolean` `isChildrenDrawnWithCacheEnabled`

**This property is deprecated.** Deprecated in Java
`open Boolean` `isLayoutSuppressed` `open Boolean` `isMotionEventSplittingEnabled` `open Boolean` `isTransitionGroup` `open LayoutAnimationController` `layoutAnimation` `open Animation.AnimationListener` `layoutAnimationListener` `open Int` `layoutMode` `open LayoutTransition` `layoutTransition` `open Int` `nestedScrollAxes` `open ViewGroupOverlay` `overlay` `open Int` `persistentDrawingCache`

**This property is deprecated.** Deprecated in Java
`open Boolean` `touchscreenBlocksFocus` From [android.webkit.WebView](https://developer.android.com/reference/android/webkit/WebView.md.txt) `open CharSequence` `accessibilityClassName` `open AccessibilityNodeProvider` `accessibilityNodeProvider` `open SslCertificate?` `certificate`

**The setter for this property is deprecated.** Deprecated in Java
`open Int` `contentHeight` `open Bitmap?` `favicon` `open Handler` `handler` `open WebView.HitTestResult` `hitTestResult` `open Boolean` `isPrivateBrowsingEnabled` `open String?` `originalUrl` `open Int` `progress` `open Boolean` `rendererPriorityWaivedWhenNotVisible` `open Int` `rendererRequestedPriority` `open Float` `scale`

**This property is deprecated.** Deprecated in Java
`open WebSettings` `settings` `open TextClassifier` `textClassifier` `open String?` `title` `open String?` `url` `open WebChromeClient?` `webChromeClient`

**The setter for this property is deprecated.** Use WebChromeClientBridge instead of WebChromeClient with WebViewBridge.
`open WebViewClient` `webViewClient` `open Looper` `webViewLooper` `open WebViewRenderProcess?` `webViewRenderProcess` `open WebViewRenderProcessClient?` `webViewRenderProcessClient`

## Public constructors

### WebViewBridge

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
WebViewBridge(context: Context)
```

### WebViewBridge

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
[WebViewBridge](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#WebViewBridge(android.content.Context,android.util.AttributeSet))(context: Context, attrs: AttributeSet?)
```

> [!CAUTION]
> **This function is deprecated.**   
> WebViewBridge should not be inflated from XML. Use WebSurface in Compose instead.

### WebViewBridge

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
[WebViewBridge](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#WebViewBridge(android.content.Context,android.util.AttributeSet,kotlin.Int))(context: Context, attrs: AttributeSet?, defStyleAttr: Int)
```

> [!CAUTION]
> **This function is deprecated.**   
> WebViewBridge should not be inflated from XML. Use WebSurface in Compose instead.

## Public functions

### addOnAttachStateChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addOnAttachStateChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))(
    listener: View.OnAttachStateChangeListener
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners.

### addOnLayoutChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addOnLayoutChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(listener: View.OnLayoutChangeListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners.

### addOnUnhandledKeyEventListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [addOnUnhandledKeyEventListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))(
    listener: View.OnUnhandledKeyEventListener?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners.

### addView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View))(child: View?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### addView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int))(child: View?, index: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### addView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,android.view.ViewGroup.LayoutParams))(child: View?, params: ViewGroup.LayoutParams?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### addView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int,android.view.ViewGroup.LayoutParams))(child: View?, index: Int, params: ViewGroup.LayoutParams?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### addView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [addView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#addView(android.view.View,kotlin.Int,kotlin.Int))(child: View?, width: Int, height: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### animate

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [animate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#animate())(): ViewPropertyAnimator
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of ViewPropertyAnimator.

### bringToFront

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [bringToFront](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#bringToFront())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.zIndex or composition order instead of View.bringToFront.

### callOnClick

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [callOnClick](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#callOnClick())(): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> WebView doesn't dispatch View click events for taps on web content. Handle taps in the page instead, for example with a WebMessageListener.

### clearAnimation

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [clearAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#clearAnimation())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

### clearFocus

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [clearFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#clearFocus())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use LocalFocusManager.current.clearFocus() in Compose instead of View.clearFocus.

### dispatchTouchEvent

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [dispatchTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#dispatchTouchEvent(android.view.MotionEvent))(ev: MotionEvent?): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> Not called in WebSurface, which delivers touch input to the page directly. Use Compose pointer input Modifiers on WebSurface instead. Observe events without consuming them, or the page may not receive them.

### invalidateOutline

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [invalidateOutline](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#invalidateOutline())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.clip or Modifier.graphicsLayer instead of View outline.

### invokeZoomPicker

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [invokeZoomPicker](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#invokeZoomPicker())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View zoom picker is not supported by WebSurface.

### offsetLeftAndRight

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [offsetLeftAndRight](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#offsetLeftAndRight(kotlin.Int))(offset: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset on WebSurface instead of View offset.

### offsetTopAndBottom

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [offsetTopAndBottom](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#offsetTopAndBottom(kotlin.Int))(offset: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset on WebSurface instead of View offset.

### onInterceptTouchEvent

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [onInterceptTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#onInterceptTouchEvent(android.view.MotionEvent))(ev: MotionEvent?): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> Not called in WebSurface, which delivers touch input to the page directly. Use Compose pointer input Modifiers on WebSurface instead. Observe events without consuming them, or the page may not receive them.

### onTouchEvent

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [onTouchEvent](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#onTouchEvent(android.view.MotionEvent))(event: MotionEvent): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> Not called in WebSurface, which delivers touch input to the page directly. Use Compose pointer input Modifiers on WebSurface instead. Observe events without consuming them, or the page may not receive them.

### performClick

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [performClick](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#performClick())(): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> WebView doesn't dispatch View click events for taps on web content. Handle taps in the page instead, for example with a WebMessageListener.

### removeAllViews

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeAllViews](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeAllViews())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeAllViewsInLayout

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeAllViewsInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeAllViewsInLayout())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeOnAttachStateChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeOnAttachStateChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))(
    listener: View.OnAttachStateChangeListener
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners.

### removeOnLayoutChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeOnLayoutChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(listener: View.OnLayoutChangeListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners.

### removeOnUnhandledKeyEventListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [removeOnUnhandledKeyEventListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))(
    listener: View.OnUnhandledKeyEventListener?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners.

### removeView

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeView](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeView(android.view.View))(view: View?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeViewAt

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeViewAt](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewAt(kotlin.Int))(index: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeViewInLayout

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeViewInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewInLayout(android.view.View))(view: View?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeViews

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeViews](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViews(kotlin.Int,kotlin.Int))(start: Int, count: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### removeViewsInLayout

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [removeViewsInLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#removeViewsInLayout(kotlin.Int,kotlin.Int))(start: Int, count: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### requestFocus

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [requestFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#requestFocus(kotlin.Int,android.graphics.Rect))(direction: Int, previouslyFocusedRect: Rect?): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.requestFocus.

### resetPivot

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [resetPivot](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#resetPivot())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View pivot.

### restoreDefaultFocus

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [restoreDefaultFocus](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#restoreDefaultFocus())(): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
> Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.restoreDefaultFocus.

### setAccessibilityDataSensitive

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 34)
open fun [setAccessibilityDataSensitive](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityDataSensitive(kotlin.Int))(accessibilityDataSensitive: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { isSensitiveData = ... } on WebSurface instead of View accessibilityDataSensitive.

### setAccessibilityDelegate

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAccessibilityDelegate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityDelegate(android.view.View.AccessibilityDelegate))(delegate: View.AccessibilityDelegate?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics on WebSurface instead of View AccessibilityDelegate.

### setAccessibilityHeading

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [setAccessibilityHeading](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityHeading(kotlin.Boolean))(isHeading: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { heading() } on WebSurface instead of View accessibilityHeading.

### setAccessibilityLiveRegion

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAccessibilityLiveRegion](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityLiveRegion(kotlin.Int))(mode: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { liveRegion = ... } on WebSurface instead of View accessibilityLiveRegion.

### setAccessibilityPaneTitle

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [setAccessibilityPaneTitle](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityPaneTitle(kotlin.CharSequence))(accessibilityPaneTitle: CharSequence?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { paneTitle = ... } on WebSurface instead of View accessibilityPaneTitle.

### setAccessibilityTraversalAfter

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAccessibilityTraversalAfter](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityTraversalAfter(kotlin.Int))(afterId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalAfter.

### setAccessibilityTraversalBefore

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAccessibilityTraversalBefore](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAccessibilityTraversalBefore(kotlin.Int))(beforeId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalBefore.

### setAlpha

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAlpha](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAlpha(kotlin.Float))(alpha: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.alpha instead of View alpha.

### setAnimation

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAnimation(android.view.animation.Animation))(animation: Animation?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

### setAnimationMatrix

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setAnimationMatrix](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setAnimationMatrix(android.graphics.Matrix))(matrix: Matrix?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer on WebSurface instead of View animation matrix.

### setBackground

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setBackground](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackground(android.graphics.drawable.Drawable))(background: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background.

### setBackgroundDrawable

```
open fun [setBackgroundDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundDrawable(android.graphics.drawable.Drawable))(background: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background.

### setBackgroundResource

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setBackgroundResource](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundResource(kotlin.Int))(resid: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background.

### setBackgroundTintBlendMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setBackgroundTintBlendMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintBlendMode(android.graphics.BlendMode))(blendMode: BlendMode?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background tint blend mode.

### setBackgroundTintList

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setBackgroundTintList](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintList(android.content.res.ColorStateList))(tint: ColorStateList?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background tint.

### setBackgroundTintMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setBackgroundTintMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setBackgroundTintMode(android.graphics.PorterDuff.Mode))(tintMode: PorterDuff.Mode?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.background instead of View background tint mode.

### setCameraDistance

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setCameraDistance](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setCameraDistance(kotlin.Float))(distance: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View camera distance.

### setClickable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setClickable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClickable(kotlin.Boolean))(clickable: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> WebView doesn't dispatch View click events for taps on web content. Handle taps in the page instead, for example with a WebMessageListener.

### setClipBounds

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setClipBounds](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipBounds(android.graphics.Rect))(clipBounds: Rect?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of View clip bounds.

### setClipChildren

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setClipChildren](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipChildren(kotlin.Boolean))(clipChildren: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of ViewGroup clipping.

### setClipToOutline

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setClipToOutline](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipToOutline(kotlin.Boolean))(clipToOutline: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.clip on WebSurface instead of View clipping.

### setClipToPadding

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setClipToPadding](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setClipToPadding(kotlin.Boolean))(clipToPadding: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.padding and Modifier.clipToBounds on WebSurface instead of ViewGroup clipToPadding.

### setContentDescription

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setContentDescription](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setContentDescription(kotlin.CharSequence))(contentDescription: CharSequence?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { contentDescription = ... } on WebSurface instead of View contentDescription.

### setContextClickable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setContextClickable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setContextClickable(kotlin.Boolean))(contextClickable: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface instead of View contextClickable.

### setDefaultFocusHighlightEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setDefaultFocusHighlightEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setDefaultFocusHighlightEnabled(kotlin.Boolean))(defaultFocusHighlightEnabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose focus indication Modifiers on WebSurface instead of View.setDefaultFocusHighlightEnabled.

### setElevation

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setElevation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setElevation(kotlin.Float))(elevation: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.shadow or Modifier.graphicsLayer instead of View elevation.

### setEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setEnabled(kotlin.Boolean))(enabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Control interaction and enabled semantics via Compose Modifiers on WebSurface instead of View.setEnabled.

### setFadingEdgeLength

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setFadingEdgeLength](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFadingEdgeLength(kotlin.Int))(length: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View fading edges are not drawn by WebSurface.

### setFilterTouchesWhenObscured

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setFilterTouchesWhenObscured](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFilterTouchesWhenObscured(kotlin.Boolean))(enabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface to filter obscured touches instead of View.setFilterTouchesWhenObscured.

### setFitsSystemWindows

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setFitsSystemWindows](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFitsSystemWindows(kotlin.Boolean))(fitSystemWindows: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose WindowInsets Modifiers on WebSurface instead of View fitsSystemWindows.

### setFocusable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusable(kotlin.Boolean))(focusable: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.

### setFocusable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusable(kotlin.Int))(focusable: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.

### setFocusableInTouchMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setFocusableInTouchMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusableInTouchMode(kotlin.Boolean))(focusableInTouchMode: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusableInTouchMode.

### setFocusedByDefault

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setFocusedByDefault](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFocusedByDefault(kotlin.Boolean))(isFocusedByDefault: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.setFocusedByDefault.

### setForceDarkAllowed

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setForceDarkAllowed](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForceDarkAllowed(kotlin.Boolean))(allow: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View force dark is not supported by WebSurface. Configure dark mode via the Activity theme instead.

### setForeground

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setForeground](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForeground(android.graphics.drawable.Drawable))(foreground: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.drawWithContent on WebSurface instead of View foreground.

### setForegroundGravity

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setForegroundGravity](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundGravity(kotlin.Int))(gravity: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.drawWithContent on WebSurface instead of View foreground gravity.

### setForegroundTintBlendMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setForegroundTintBlendMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintBlendMode(android.graphics.BlendMode))(blendMode: BlendMode?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.drawWithContent on WebSurface instead of View foreground tint blend mode.

### setForegroundTintList

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setForegroundTintList](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintList(android.content.res.ColorStateList))(tint: ColorStateList?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.drawWithContent on WebSurface instead of View foreground tint.

### setForegroundTintMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setForegroundTintMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setForegroundTintMode(android.graphics.PorterDuff.Mode))(tintMode: PorterDuff.Mode?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.drawWithContent on WebSurface instead of View foreground tint mode.

### setFrameContentVelocity

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 35)
open fun [setFrameContentVelocity](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setFrameContentVelocity(kotlin.Float))(pixelsPerSecond: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.preferredFrameRate on WebSurface instead of View frameContentVelocity.

### setHorizontalFadingEdgeEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setHorizontalFadingEdgeEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalFadingEdgeEnabled(kotlin.Boolean))(horizontalFadingEdgeEnabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View fading edges are not drawn by WebSurface.

### setHorizontalScrollBarEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setHorizontalScrollBarEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollBarEnabled(kotlin.Boolean))(horizontalScrollBarEnabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setHorizontalScrollbarThumbDrawable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setHorizontalScrollbarThumbDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setHorizontalScrollbarTrackDrawable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setHorizontalScrollbarTrackDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setHorizontalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setImportantForAccessibility

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setImportantForAccessibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setImportantForAccessibility(kotlin.Int))(mode: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics or Modifier.clearAndSetSemantics on WebSurface instead of View importantForAccessibility.

### setKeepScreenOn

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setKeepScreenOn](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setKeepScreenOn(kotlin.Boolean))(keepScreenOn: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.keepScreenOn on WebSurface instead of View keepScreenOn.

### setKeyboardNavigationCluster

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setKeyboardNavigationCluster](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setKeyboardNavigationCluster(kotlin.Boolean))(isCluster: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusGroup on WebSurface instead of View.setKeyboardNavigationCluster.

### setLabelFor

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setLabelFor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLabelFor(kotlin.Int))(id: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics on WebSurface instead of View labelFor.

### setLayerPaint

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setLayerPaint](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayerPaint(android.graphics.Paint))(paint: Paint?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View layer paint.

### setLayerType

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setLayerType](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayerType(kotlin.Int,android.graphics.Paint))(layerType: Int, paint: Paint?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View layer type.

### setLayoutParams

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setLayoutParams](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setLayoutParams(android.view.ViewGroup.LayoutParams))(params: ViewGroup.LayoutParams?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose size and layout Modifiers on WebSurface instead of LayoutParams.

### setMinimumHeight

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setMinimumHeight](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setMinimumHeight(kotlin.Int))(minHeight: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum height.

### setMinimumWidth

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setMinimumWidth](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setMinimumWidth(kotlin.Int))(minWidth: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum width.

### setNextClusterForwardId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setNextClusterForwardId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextClusterForwardId(kotlin.Int))(nextClusterForwardId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties on WebSurface instead of View.setNextClusterForwardId.

### setNextFocusDownId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setNextFocusDownId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusDownId(kotlin.Int))(nextFocusDownId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { down = ... } on WebSurface instead of View.setNextFocusDownId.

### setNextFocusForwardId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setNextFocusForwardId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusForwardId(kotlin.Int))(nextFocusForwardId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { next = ... } on WebSurface instead of View.setNextFocusForwardId.

### setNextFocusLeftId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setNextFocusLeftId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusLeftId(kotlin.Int))(nextFocusLeftId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { left = ... } on WebSurface instead of View.setNextFocusLeftId.

### setNextFocusRightId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setNextFocusRightId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusRightId(kotlin.Int))(nextFocusRightId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { right = ... } on WebSurface instead of View.setNextFocusRightId.

### setNextFocusUpId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setNextFocusUpId](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setNextFocusUpId(kotlin.Int))(nextFocusUpId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.focusProperties { up = ... } on WebSurface instead of View.setNextFocusUpId.

### setOnApplyWindowInsetsListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnApplyWindowInsetsListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener))(
    listener: View.OnApplyWindowInsetsListener?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose WindowInsets Modifiers on WebSurface instead of View window insets listeners.

### setOnCapturedPointerListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setOnCapturedPointerListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnCapturedPointerListener(android.view.View.OnCapturedPointerListener))(l: View.OnCapturedPointerListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface instead of View captured pointer listeners.

### setOnClickListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnClickListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnClickListener(android.view.View.OnClickListener))(l: View.OnClickListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> WebView doesn't dispatch View click events for taps on web content. Handle taps in the page instead, for example with a WebMessageListener.

### setOnContextClickListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnContextClickListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnContextClickListener(android.view.View.OnContextClickListener))(l: View.OnContextClickListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface instead of View context click listeners.

### setOnDragListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnDragListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnDragListener(android.view.View.OnDragListener))(l: View.OnDragListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.dragAndDropTarget on WebSurface instead of View drag listeners.

### setOnFocusChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnFocusChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnFocusChangeListener(android.view.View.OnFocusChangeListener))(l: View.OnFocusChangeListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onFocusChanged or Modifier.onFocusEvent on WebSurface instead of View focus change listeners.

### setOnGenericMotionListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnGenericMotionListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnGenericMotionListener(android.view.View.OnGenericMotionListener))(l: View.OnGenericMotionListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface instead of View generic motion listeners. Observe events without consuming them, or the page may not receive them.

### setOnHierarchyChangeListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnHierarchyChangeListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener))(
    listener: ViewGroup.OnHierarchyChangeListener?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.

### setOnHoverListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnHoverListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnHoverListener(android.view.View.OnHoverListener))(l: View.OnHoverListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers or Modifier.hoverable on WebSurface instead of View hover listeners.

### setOnKeyListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnKeyListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnKeyListener(android.view.View.OnKeyListener))(l: View.OnKeyListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.onKeyEvent or Modifier.onPreviewKeyEvent on WebSurface instead of View key listeners.

### setOnTouchListener

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOnTouchListener](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOnTouchListener(android.view.View.OnTouchListener))(l: View.OnTouchListener?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose pointer input Modifiers on WebSurface instead of touch listeners. Observe events without consuming them, or the page may not receive them.

### setOutlineAmbientShadowColor

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [setOutlineAmbientShadowColor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineAmbientShadowColor(kotlin.Int))(color: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

### setOutlineProvider

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOutlineProvider](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineProvider(android.view.ViewOutlineProvider))(provider: ViewOutlineProvider?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.clip or Modifier.graphicsLayer instead of View outline provider.

### setOutlineSpotShadowColor

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [setOutlineSpotShadowColor](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOutlineSpotShadowColor(kotlin.Int))(color: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

### setOverScrollMode

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setOverScrollMode](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setOverScrollMode(kotlin.Int))(mode: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> WebSurface passes overscroll to parents through nested scrolling. Use Modifier.nestedScroll on a parent instead of View overScrollMode.

### setPadding

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setPadding](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPadding(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int))(left: Int, top: Int, right: Int, bottom: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.padding on WebSurface instead of View padding.

### setPaddingRelative

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setPaddingRelative](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPaddingRelative(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int))(start: Int, top: Int, end: Int, bottom: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.padding on WebSurface instead of View padding.

### setPivotX

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setPivotX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPivotX(kotlin.Float))(pivotX: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View pivot.

### setPivotY

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setPivotY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPivotY(kotlin.Float))(pivotY: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View pivot.

### setPointerIcon

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setPointerIcon](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setPointerIcon(android.view.PointerIcon))(pointerIcon: PointerIcon?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.pointerHoverIcon on WebSurface instead of View pointerIcon.

### setRenderEffect

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 31)
open fun [setRenderEffect](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRenderEffect(android.graphics.RenderEffect))(renderEffect: RenderEffect?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer or Modifier.blur instead of View RenderEffect.

### setRequestedFrameRate

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 35)
open fun [setRequestedFrameRate](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRequestedFrameRate(kotlin.Float))(frameRate: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.preferredFrameRate on WebSurface instead of View requestedFrameRate.

### setRotation

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setRotation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotation(kotlin.Float))(rotation: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.rotate or Modifier.graphicsLayer instead of View rotation.

### setRotationX

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setRotationX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotationX(kotlin.Float))(rotationX: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View rotation.

### setRotationY

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setRotationY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setRotationY(kotlin.Float))(rotationY: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View rotation.

### setScaleX

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScaleX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScaleX(kotlin.Float))(scaleX: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

### setScaleY

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScaleY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScaleY(kotlin.Float))(scaleY: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

### setScreenReaderFocusable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 28)
open fun [setScreenReaderFocusable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScreenReaderFocusable(kotlin.Boolean))(screenReaderFocusable: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics(mergeDescendants = true) on WebSurface instead of View screenReaderFocusable.

### setScrollBarDefaultDelayBeforeFade

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollBarDefaultDelayBeforeFade](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarDefaultDelayBeforeFade(kotlin.Int))(
    scrollBarDefaultDelayBeforeFade: Int
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setScrollBarFadeDuration

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollBarFadeDuration](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarFadeDuration(kotlin.Int))(scrollBarFadeDuration: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setScrollBarSize

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollBarSize](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarSize(kotlin.Int))(scrollBarSize: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setScrollBarStyle

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollBarStyle](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollBarStyle(kotlin.Int))(style: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setScrollIndicators

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollIndicators](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollIndicators(kotlin.Int))(indicators: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scroll indicators are not drawn by WebSurface.

### setScrollIndicators

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollIndicators](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollIndicators(kotlin.Int,kotlin.Int))(indicators: Int, mask: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scroll indicators are not drawn by WebSurface.

### setScrollbarFadingEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setScrollbarFadingEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setScrollbarFadingEnabled(kotlin.Boolean))(fadeScrollbars: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setStateDescription

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 30)
open fun [setStateDescription](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setStateDescription(kotlin.CharSequence))(stateDescription: CharSequence?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.semantics { stateDescription = ... } on WebSurface instead of View stateDescription.

### setStateListAnimator

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setStateListAnimator](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setStateListAnimator(android.animation.StateListAnimator))(stateListAnimator: StateListAnimator?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose animation APIs on WebSurface instead of View StateListAnimator.

### setSystemGestureExclusionRects

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setSystemGestureExclusionRects](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setSystemGestureExclusionRects(kotlin.collections.MutableList))(rects: MutableList<Rect>): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.systemGestureExclusion on WebSurface instead of View system gesture exclusion rects.

### setTooltipText

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 26)
open fun [setTooltipText](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTooltipText(kotlin.CharSequence))(tooltipText: CharSequence?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose Tooltip APIs on WebSurface instead of View tooltip text.

### setTransitionAlpha

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setTransitionAlpha](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTransitionAlpha(kotlin.Float))(alpha: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.alpha instead of View transition alpha.

### setTransitionVisibility

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setTransitionVisibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTransitionVisibility(kotlin.Int))(visibility: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use conditional composition instead of View visibility.

### setTranslationX

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setTranslationX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationX(kotlin.Float))(translationX: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

### setTranslationY

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setTranslationY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationY(kotlin.Float))(translationY: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

### setTranslationZ

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setTranslationZ](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setTranslationZ(kotlin.Float))(translationZ: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.graphicsLayer instead of View translation.

### setVerticalFadingEdgeEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setVerticalFadingEdgeEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalFadingEdgeEnabled(kotlin.Boolean))(verticalFadingEdgeEnabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View fading edges are not drawn by WebSurface.

### setVerticalScrollBarEnabled

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setVerticalScrollBarEnabled](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollBarEnabled(kotlin.Boolean))(verticalScrollBarEnabled: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setVerticalScrollbarPosition

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setVerticalScrollbarPosition](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarPosition(kotlin.Int))(position: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setVerticalScrollbarThumbDrawable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setVerticalScrollbarThumbDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setVerticalScrollbarTrackDrawable

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 29)
open fun [setVerticalScrollbarTrackDrawable](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVerticalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(drawable: Drawable?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> View scrollbars are not drawn by WebSurface.

### setVisibility

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setVisibility](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setVisibility(kotlin.Int))(visibility: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use conditional composition instead of View visibility.

### setWebChromeClient

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setWebChromeClient](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setWebChromeClient(android.webkit.WebChromeClient))(client: WebChromeClient?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use WebChromeClientBridge instead of WebChromeClient with WebViewBridge.

### setWebChromeClient

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun setWebChromeClient(client: WebChromeClientBridge?): Unit
```

Sets the `WebChromeClientBridge` that will receive notifications and requests from this `WebViewBridge`.

### setWindowInsetsAnimationCallback

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
@RequiresApi(value = 30)
open fun [setWindowInsetsAnimationCallback](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setWindowInsetsAnimationCallback(android.view.WindowInsetsAnimation.Callback))(
    callback: WindowInsetsAnimation.Callback?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose WindowInsets Modifiers on WebSurface instead of View window insets animation callbacks.

### setX

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setX](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setX(kotlin.Float))(x: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset or Modifier.graphicsLayer instead of View position.

### setY

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setY](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setY(kotlin.Float))(y: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.offset or Modifier.graphicsLayer instead of View position.

### setZ

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [setZ](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#setZ(kotlin.Float))(z: Float): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Modifier.shadow or Modifier.graphicsLayer instead of View z-order.

### startAnimation

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [startAnimation](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#startAnimation(android.view.animation.Animation))(animation: Animation?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

### updateViewLayout

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02) Deprecated in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/web.md.txt#1.0.0-alpha02)

```
open fun [updateViewLayout](https://developer.android.com/reference/kotlin/androidx/web/compose/WebViewBridge#updateViewLayout(android.view.View,android.view.ViewGroup.LayoutParams))(view: View?, params: ViewGroup.LayoutParams?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Child Views added to WebViewBridge are not drawn or interactive in WebSurface. Use a Compose layout (such as Box) to overlay UI on WebSurface instead.