WebViewBridge

open class WebViewBridge : WebContentView

kotlin.Any
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AbsoluteLayout
         ↳ android.webkit.WebView
           ↳ androidx.web.WebContentView
             ↳ androidx.web.compose.WebViewBridge

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 Modifiers or WebContent APIs.

Summary

Public constructors

WebViewBridge(context: Context, attrs: AttributeSet?)

This function is deprecated. WebViewBridge should not be inflated from XML.

WebViewBridge(context: Context, attrs: AttributeSet?, defStyleAttr: Int)

This function is deprecated. WebViewBridge should not be inflated from XML.

Public functions

open Unit

This function is deprecated. Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners.

open Unit

This function is deprecated. Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners.

open Unit

This function is deprecated. Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners.

open Unit
addView(child: View?)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
addView(child: View?, index: Int)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
addView(child: View?, params: ViewGroup.LayoutParams?)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
addView(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(child: View?, width: Int, height: Int)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open ViewPropertyAnimator

This function is deprecated. Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of ViewPropertyAnimator.

open Unit

This function is deprecated. Use Modifier.zIndex or composition order instead of View.bringToFront.

open Boolean

This function is deprecated. WebView doesn't dispatch View click events for taps on web content.

open Unit

This function is deprecated. Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

open Unit

This function is deprecated. Use LocalFocusManager.current.clearFocus() in Compose instead of View.clearFocus.

open Boolean

This function is deprecated. Not called in WebSurface, which delivers touch input to the page directly.

open Unit

This function is deprecated. Use Modifier.clip or Modifier.graphicsLayer instead of View outline.

open Unit

This function is deprecated. View zoom picker is not supported by WebSurface.

open Unit

This function is deprecated. Use Modifier.offset on WebSurface instead of View offset.

open Unit

This function is deprecated. Use Modifier.offset on WebSurface instead of View offset.

open Boolean

This function is deprecated. Not called in WebSurface, which delivers touch input to the page directly.

open Boolean

This function is deprecated. Not called in WebSurface, which delivers touch input to the page directly.

open Boolean

This function is deprecated. WebView doesn't dispatch View click events for taps on web content.

open Unit

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit

This function is deprecated. Use DisposableEffect or bridgeRelease on WebSurface instead of View attach state listeners.

open Unit

This function is deprecated. Use Modifier.onSizeChanged or Modifier.onGloballyPositioned on WebSurface instead of View layout listeners.

open Unit

This function is deprecated. Use Modifier.onKeyEvent on WebSurface instead of View unhandled key event listeners.

open Unit
removeView(view: View?)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
removeViewAt(index: Int)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
removeViews(start: Int, count: Int)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit
removeViewsInLayout(start: Int, count: Int)

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Boolean
requestFocus(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()

This function is deprecated. Use Modifier.graphicsLayer instead of View pivot.

open Boolean

This function is deprecated. Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.restoreDefaultFocus.

open Unit
@RequiresApi(value = 34)
setAccessibilityDataSensitive(accessibilityDataSensitive: Int)

This function is deprecated. Use Modifier.semantics { isSensitiveData = ... } on WebSurface instead of View accessibilityDataSensitive.

open Unit

This function is deprecated. Use Modifier.semantics on WebSurface instead of View AccessibilityDelegate.

open Unit
@RequiresApi(value = 28)
setAccessibilityHeading(isHeading: Boolean)

This function is deprecated. Use Modifier.semantics { heading() } on WebSurface instead of View accessibilityHeading.

open Unit

This function is deprecated. Use Modifier.semantics { liveRegion = ... } on WebSurface instead of View accessibilityLiveRegion.

open Unit
@RequiresApi(value = 28)
setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence?)

This function is deprecated. Use Modifier.semantics { paneTitle = ... } on WebSurface instead of View accessibilityPaneTitle.

open Unit

This function is deprecated. Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalAfter.

open Unit

This function is deprecated. Use Modifier.semantics { traversalIndex = ... } on WebSurface instead of View accessibilityTraversalBefore.

open Unit
setAlpha(alpha: Float)

This function is deprecated. Use Modifier.alpha instead of View alpha.

open Unit
setAnimation(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(matrix: Matrix?)

This function is deprecated. Use Modifier.graphicsLayer on WebSurface instead of View animation matrix.

open Unit
setBackground(background: Drawable?)

This function is deprecated. Use Modifier.background instead of View background.

open Unit

This function is deprecated. Use Modifier.background instead of View background.

open Unit

This function is deprecated. Use Modifier.background instead of View background.

open Unit

This function is deprecated. Use Modifier.background instead of View background tint blend mode.

open Unit

This function is deprecated. Use Modifier.background instead of View background tint.

open Unit

This function is deprecated. Use Modifier.background instead of View background tint mode.

open Unit

This function is deprecated. Use Modifier.graphicsLayer instead of View camera distance.

open Unit
setClickable(clickable: Boolean)

This function is deprecated. WebView doesn't dispatch View click events for taps on web content.

open Unit
setClipBounds(clipBounds: Rect?)

This function is deprecated. Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of View clip bounds.

open Unit
setClipChildren(clipChildren: Boolean)

This function is deprecated. Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of ViewGroup clipping.

open Unit
setClipToOutline(clipToOutline: Boolean)

This function is deprecated. Use Modifier.clip on WebSurface instead of View clipping.

open Unit
setClipToPadding(clipToPadding: Boolean)

This function is deprecated. Use Modifier.padding and Modifier.clipToBounds on WebSurface instead of ViewGroup clipToPadding.

open Unit
setContentDescription(contentDescription: CharSequence?)

This function is deprecated. Use Modifier.semantics { contentDescription = ... } on WebSurface instead of View contentDescription.

open Unit
setContextClickable(contextClickable: Boolean)

This function is deprecated. Use Compose pointer input Modifiers on WebSurface instead of View contextClickable.

open Unit
@RequiresApi(value = 26)
setDefaultFocusHighlightEnabled(defaultFocusHighlightEnabled: Boolean)

This function is deprecated. Use Compose focus indication Modifiers on WebSurface instead of View.setDefaultFocusHighlightEnabled.

open Unit
setElevation(elevation: Float)

This function is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View elevation.

open Unit
setEnabled(enabled: Boolean)

This function is deprecated. Control interaction and enabled semantics via Compose Modifiers on WebSurface instead of View.setEnabled.

open Unit

This function is deprecated. View fading edges are not drawn by WebSurface.

open Unit

This function is deprecated. Use Compose pointer input Modifiers on WebSurface to filter obscured touches instead of View.setFilterTouchesWhenObscured.

open Unit
setFitsSystemWindows(fitSystemWindows: Boolean)

This function is deprecated. Use Compose WindowInsets Modifiers on WebSurface instead of View fitsSystemWindows.

open Unit
setFocusable(focusable: Boolean)

This function is deprecated. Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.

open Unit
@RequiresApi(value = 26)
setFocusable(focusable: Int)

This function is deprecated. Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusable.

open Unit
setFocusableInTouchMode(focusableInTouchMode: Boolean)

This function is deprecated. Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusableInTouchMode.

open Unit
@RequiresApi(value = 26)
setFocusedByDefault(isFocusedByDefault: Boolean)

This function is deprecated. Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.setFocusedByDefault.

open Unit
@RequiresApi(value = 29)
setForceDarkAllowed(allow: Boolean)

This function is deprecated. View force dark is not supported by WebSurface.

open Unit
setForeground(foreground: Drawable?)

This function is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground.

open Unit

This function is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground gravity.

open Unit

This function is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint blend mode.

open Unit

This function is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint.

open Unit

This function is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint mode.

open Unit
@RequiresApi(value = 35)
setFrameContentVelocity(pixelsPerSecond: Float)

This function is deprecated. Use Modifier.preferredFrameRate on WebSurface instead of View frameContentVelocity.

open Unit
setHorizontalFadingEdgeEnabled(horizontalFadingEdgeEnabled: Boolean)

This function is deprecated. View fading edges are not drawn by WebSurface.

open Unit
setHorizontalScrollBarEnabled(horizontalScrollBarEnabled: Boolean)

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. Use Modifier.semantics or Modifier.clearAndSetSemantics on WebSurface instead of View importantForAccessibility.

open Unit
setKeepScreenOn(keepScreenOn: Boolean)

This function is deprecated. Use Modifier.keepScreenOn on WebSurface instead of View keepScreenOn.

open Unit

This function is deprecated. Use Modifier.focusGroup on WebSurface instead of View.setKeyboardNavigationCluster.

open Unit

This function is deprecated. Use Modifier.semantics on WebSurface instead of View labelFor.

open Unit

This function is deprecated. Use Modifier.graphicsLayer instead of View layer paint.

open Unit
setLayerType(layerType: Int, paint: Paint?)

This function is deprecated. Use Modifier.graphicsLayer instead of View layer type.

open Unit

This function is deprecated. Use Compose size and layout Modifiers on WebSurface instead of LayoutParams.

open Unit
setMinimumHeight(minHeight: Int)

This function is deprecated. Use Modifier.sizeIn or Modifier.defaultMinSize on WebSurface instead of View minimum height.

open Unit
setMinimumWidth(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(nextClusterForwardId: Int)

This function is deprecated. Use Modifier.focusProperties on WebSurface instead of View.setNextClusterForwardId.

open Unit
setNextFocusDownId(nextFocusDownId: Int)

This function is deprecated. Use Modifier.focusProperties { down = ... } on WebSurface instead of View.setNextFocusDownId.

open Unit
setNextFocusForwardId(nextFocusForwardId: Int)

This function is deprecated. Use Modifier.focusProperties { next = ... } on WebSurface instead of View.setNextFocusForwardId.

open Unit
setNextFocusLeftId(nextFocusLeftId: Int)

This function is deprecated. Use Modifier.focusProperties { left = ... } on WebSurface instead of View.setNextFocusLeftId.

open Unit
setNextFocusRightId(nextFocusRightId: Int)

This function is deprecated. Use Modifier.focusProperties { right = ... } on WebSurface instead of View.setNextFocusRightId.

open Unit
setNextFocusUpId(nextFocusUpId: Int)

This function is deprecated. Use Modifier.focusProperties { up = ... } on WebSurface instead of View.setNextFocusUpId.

open Unit

This function is deprecated. Use Compose WindowInsets Modifiers on WebSurface instead of View window insets listeners.

open Unit

This function is deprecated. Use Compose pointer input Modifiers on WebSurface instead of View captured pointer listeners.

open Unit

This function is deprecated. WebView doesn't dispatch View click events for taps on web content.

open Unit

This function is deprecated. Use Compose pointer input Modifiers on WebSurface instead of View context click listeners.

open Unit

This function is deprecated. Use Modifier.dragAndDropTarget on WebSurface instead of View drag listeners.

open Unit

This function is deprecated. Use Modifier.onFocusChanged or Modifier.onFocusEvent on WebSurface instead of View focus change listeners.

open Unit

This function is deprecated. Use Compose pointer input Modifiers on WebSurface instead of View generic motion listeners.

open Unit

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

open Unit

This function is deprecated. Use Compose pointer input Modifiers or Modifier.hoverable on WebSurface instead of View hover listeners.

open Unit

This function is deprecated. Use Modifier.onKeyEvent or Modifier.onPreviewKeyEvent on WebSurface instead of View key listeners.

open Unit

This function is deprecated. Use Compose pointer input Modifiers on WebSurface instead of touch listeners.

open Unit

This function is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

open Unit

This function is deprecated. Use Modifier.clip or Modifier.graphicsLayer instead of View outline provider.

open Unit

This function is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

open Unit

This function is deprecated. WebSurface passes overscroll to parents through nested scrolling.

open Unit
setPadding(left: Int, top: Int, right: Int, bottom: Int)

This function is deprecated. Use Modifier.padding on WebSurface instead of View padding.

open Unit
setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int)

This function is deprecated. Use Modifier.padding on WebSurface instead of View padding.

open Unit
setPivotX(pivotX: Float)

This function is deprecated. Use Modifier.graphicsLayer instead of View pivot.

open Unit
setPivotY(pivotY: Float)

This function is deprecated. Use Modifier.graphicsLayer instead of View pivot.

open Unit
setPointerIcon(pointerIcon: PointerIcon?)

This function is deprecated. Use Modifier.pointerHoverIcon on WebSurface instead of View pointerIcon.

open Unit
@RequiresApi(value = 31)
setRenderEffect(renderEffect: RenderEffect?)

This function is deprecated. Use Modifier.graphicsLayer or Modifier.blur instead of View RenderEffect.

open Unit
@RequiresApi(value = 35)
setRequestedFrameRate(frameRate: Float)

This function is deprecated. Use Modifier.preferredFrameRate on WebSurface instead of View requestedFrameRate.

open Unit
setRotation(rotation: Float)

This function is deprecated. Use Modifier.rotate or Modifier.graphicsLayer instead of View rotation.

open Unit
setRotationX(rotationX: Float)

This function is deprecated. Use Modifier.graphicsLayer instead of View rotation.

open Unit
setRotationY(rotationY: Float)

This function is deprecated. Use Modifier.graphicsLayer instead of View rotation.

open Unit
setScaleX(scaleX: Float)

This function is deprecated. Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

open Unit
setScaleY(scaleY: Float)

This function is deprecated. Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

open Unit
@RequiresApi(value = 28)
setScreenReaderFocusable(screenReaderFocusable: Boolean)

This function is deprecated. Use Modifier.semantics(mergeDescendants = true) on WebSurface instead of View screenReaderFocusable.

open Unit
setScrollBarDefaultDelayBeforeFade(
    scrollBarDefaultDelayBeforeFade: Int
)

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit
setScrollBarFadeDuration(scrollBarFadeDuration: Int)

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit
setScrollBarSize(scrollBarSize: Int)

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit
setScrollIndicators(indicators: Int)

This function is deprecated. View scroll indicators are not drawn by WebSurface.

open Unit
setScrollIndicators(indicators: Int, mask: Int)

This function is deprecated. View scroll indicators are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit
@RequiresApi(value = 30)
setStateDescription(stateDescription: CharSequence?)

This function is deprecated. Use Modifier.semantics { stateDescription = ... } on WebSurface instead of View stateDescription.

open Unit

This function is deprecated. Use Compose animation APIs on WebSurface instead of View StateListAnimator.

open Unit

This function is deprecated. Use Modifier.systemGestureExclusion on WebSurface instead of View system gesture exclusion rects.

open Unit
@RequiresApi(value = 26)
setTooltipText(tooltipText: CharSequence?)

This function is deprecated. Use Compose Tooltip APIs on WebSurface instead of View tooltip text.

open Unit
@RequiresApi(value = 29)
setTransitionAlpha(alpha: Float)

This function is deprecated. Use Modifier.alpha instead of View transition alpha.

open Unit
@RequiresApi(value = 29)
setTransitionVisibility(visibility: Int)

This function is deprecated. Use conditional composition instead of View visibility.

open Unit
setTranslationX(translationX: Float)

This function is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

open Unit
setTranslationY(translationY: Float)

This function is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

open Unit
setTranslationZ(translationZ: Float)

This function is deprecated. Use Modifier.graphicsLayer instead of View translation.

open Unit
setVerticalFadingEdgeEnabled(verticalFadingEdgeEnabled: Boolean)

This function is deprecated. View fading edges are not drawn by WebSurface.

open Unit
setVerticalScrollBarEnabled(verticalScrollBarEnabled: Boolean)

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit

This function is deprecated. View scrollbars are not drawn by WebSurface.

open Unit
setVisibility(visibility: Int)

This function is deprecated. Use conditional composition instead of View visibility.

open Unit

This function is deprecated. Use WebChromeClientBridge instead of WebChromeClient with WebViewBridge.

open Unit

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

open Unit

This function is deprecated. Use Compose WindowInsets Modifiers on WebSurface instead of View window insets animation callbacks.

open Unit
setX(x: Float)

This function is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View position.

open Unit
setY(y: Float)

This function is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View position.

open Unit
setZ(z: Float)

This function is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View z-order.

open Unit

This function is deprecated. Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

open Unit

This function is deprecated. Child Views added to WebViewBridge are not drawn or interactive in WebSurface.

Inherited functions

From android.widget.AbsoluteLayout
From android.view.View
Unit
addFocusables(views: ArrayList<View>, direction: Int)
Unit
Unit
Boolean
Boolean
awakenScrollBars(startDelay: Int)
Boolean
awakenScrollBars(startDelay: Int, invalidate: Boolean)
Unit
Unit
Unit
open Boolean
open Boolean
open Boolean
Boolean
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Int
WindowInsets
AccessibilityNodeInfo
open Unit
Unit
Boolean
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
Unit
draw(canvas: Canvas)
Unit
OnBackInvokedDispatcher?
T
<T : View> findViewById(id: Int)
T
<T : View> findViewWithTag(tag: Any)
Boolean
View
focusSearch(direction: Int)
Unit
forceHasOverlappingRendering(hasOverlappingRendering: Boolean)
Unit
Unit
generateDisplayHash(
    hashAlgorithm: String,
    bounds: Rect?,
    executor: Executor,
    callback: DisplayHashResultCallback
)
IntArray
Boolean
getClipBounds(outRect: Rect)
Bitmap
Unit
getDrawingRect(outRect: Rect)
ArrayList<View>
getFocusables(direction: Int)
Unit
Boolean
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
Unit
Unit
Unit
ViewParent
open ViewParent
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
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
invalidate(dirty: Rect)
Unit
invalidate(l: Int, t: Int, r: Int, b: Int)
Unit
open Boolean
open Boolean
open Boolean
open Boolean
open View
keyboardNavigationClusterSearch(currentCluster: View, direction: Int)
Unit
measure(widthMeasureSpec: Int, heightMeasureSpec: Int)
Unit
Unit
Unit
Boolean
Unit
Unit
onCreateViewTranslationRequest(
    supportedFormats: IntArray,
    requestsCollector: Consumer<ViewTranslationRequest>
)
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Boolean
onKeyLongPress(keyCode: Int, event: KeyEvent)
Boolean
onKeyPreIme(keyCode: Int, event: KeyEvent)
Boolean
onKeyShortcut(keyCode: Int, event: KeyEvent)
Unit
Unit
Unit
Unit
Unit
ContentInfo?
Unit
Unit
onRtlPropertiesChanged(layoutDirection: Int)
Parcelable?
Unit
onScreenStateChanged(screenState: Int)
Unit
onScrollCaptureSearch(
    localVisibleRect: Rect,
    windowOffset: Point,
    targets: Consumer<ScrollCaptureTarget>
)
Boolean
onSetAlpha(alpha: Int)
Unit
Unit
Unit
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
Boolean
Boolean
performHapticFeedback(feedbackConstant: Int)
Boolean
Boolean
performHapticFeedback(feedbackConstant: Int, flags: Int)
Boolean
ContentInfo?
Unit
playSoundEffect(soundConstant: Int)
Boolean
post(action: Runnable)
Boolean
postDelayed(action: Runnable, delayMillis: Long)
Unit
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
Unit
postInvalidateOnAnimation(left: Int, top: Int, right: Int, bottom: Int)
Unit
Unit
postOnAnimationDelayed(action: Runnable, delayMillis: Long)
Unit
Unit
Boolean
Unit
Unit
open Unit

This function is deprecated. Deprecated in Java

Boolean
Boolean
requestFocus(direction: Int)
Boolean
open Unit
Unit
Unit
Boolean
Boolean
requestRectangleOnScreen(rectangle: Rect, immediate: Boolean)
Boolean
requestRectangleOnScreen(rectangle: Rect, immediate: Boolean, source: Int)
Unit
Unit
T
<T : View> requireViewById(id: Int)
Unit
Unit
saveAttributeDataForStyleable(
    context: Context,
    styleable: IntArray,
    attrs: AttributeSet?,
    t: TypedArray,
    defStyleAttr: Int,
    defStyleRes: Int
)
Unit
Unit
scheduleDrawable(who: Drawable, what: Runnable, when: Long)
Unit
scrollBy(x: Int, y: Int)
Unit
scrollTo(x: Int, y: Int)
Unit
Unit
Unit
setAllowClickWhenDisabled(clickableWhenDisabled: Boolean)
Unit
Unit
Unit
setAutofillHints(vararg autofillHints: String)
Unit
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
Unit
Unit
setOnReceiveContentListener(
    mimeTypes: Array<String>?,
    listener: OnReceiveContentListener?
)
Unit
Unit
Unit
Unit
Unit
setTag(key: Int, tag: Any)
Unit
Unit
setWillNotCacheDrawing(willNotCacheDrawing: Boolean)
Unit
setWillNotDraw(willNotDraw: Boolean)
Boolean
Boolean
ActionMode
ActionMode
Boolean
startDrag(
    data: ClipData,
    shadowBuilder: View.DragShadowBuilder,
    myLocalState: Any,
    flags: Int
)
Boolean
startDragAndDrop(
    data: ClipData,
    shadowBuilder: View.DragShadowBuilder,
    myLocalState: Any,
    flags: Int
)
Boolean
Unit
open String
Unit
Unit
Unit
Unit
Unit
Boolean
Boolean
Boolean
From android.view.ViewGroup
Unit
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
Unit
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
Boolean
Unit
Unit
childHasTransientStateChanged(
    child: View,
    childHasTransientState: Boolean
)
Unit
Unit
Unit
Unit
debug(depth: Int)
Unit
Unit
Unit
Unit
detachViewsFromParent(start: Int, count: Int)
WindowInsets
Boolean
Unit
Unit
Boolean
Unit
Unit
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
dispatchScrollCaptureSearch(
    localVisibleRect: Rect,
    windowOffset: Point,
    targets: Consumer<ScrollCaptureTarget>
)
Unit
Unit
Unit
Unit
Unit
Unit
Boolean
Boolean
dispatchUnhandledMove(focused: View, direction: Int)
Unit
dispatchVisibilityChanged(changedView: View, visibility: Int)
Unit
Unit
Unit
WindowInsets
WindowInsetsAnimation.Bounds
Unit
Unit
Boolean
drawChild(canvas: Canvas, child: View, drawingTime: Long)
Unit
Unit
OnBackInvokedDispatcher?
Unit
findViewsWithText(
    outViews: ArrayList<View>,
    text: CharSequence,
    flags: Int
)
View
focusSearch(focused: View, direction: Int)
Unit
Boolean
View
getChildAt(index: Int)
Int
getChildDrawingOrder(drawingPosition: Int)
Int
getChildDrawingOrder(childCount: Int, drawingPosition: Int)
Boolean
Boolean
getChildVisibleRect(child: View, r: Rect, offset: Point)
Boolean
Boolean
Int
Unit
invalidateChild(child: View, dirty: Rect)
ViewParent
invalidateChildInParent(location: IntArray, dirty: Rect)
Unit
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
Unit
IntArray
Unit
onDescendantInvalidated(child: View, target: View)
Unit
Boolean
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
Boolean
onStartNestedScroll(child: View, target: View, nestedScrollAxes: Int)
Unit
Unit
onViewAdded(child: View)
Unit
Unit
propagateRequestedFrameRate(frameRate: Float, forceOverride: Boolean)
Unit
Unit
removeDetachedView(child: View, animate: Boolean)
Unit
requestChildFocus(child: View, focused: View)
Unit
Boolean
Unit
Unit
Unit
Unit
Unit
Boolean
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
Unit
Unit
From android.view.ViewParent
Boolean
requestChildRectangleOnScreen(
    child: View,
    rectangle: Rect,
    immediate: Boolean,
    source: Int
)
From android.webkit.WebView
Unit
addJavascriptInterface(object: Any, name: String)
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Picture
Unit
clearCache(includeDiskFiles: Boolean)
Unit
Unit
Unit
Unit
Unit
Int
Int
Unit
Int
Int
Int
WebBackForwardList
PrintDocumentAdapter
PrintDocumentAdapter
Array<WebMessagePort>
Unit
Unit
dispatchCreateViewTranslationRequest(
    viewIds: MutableMap<AutofillId, LongArray>,
    supportedFormats: IntArray,
    capability: TranslationCapability?,
    requests: MutableList<ViewTranslationRequest>
)
Unit
Boolean
Unit
Unit
evaluateJavascript(script: String, resultCallback: ValueCallback<String>?)
Int
findAll(find: String)
Unit
View
Unit
findNext(forward: Boolean)
Unit
flingScroll(vx: Int, vy: Int)
Unit
Array<String>?
Unit
Unit
Unit
Boolean
Unit
loadData(data: String, mimeType: String?, encoding: String?)
Unit
loadDataWithBaseURL(
    baseUrl: String?,
    data: String,
    mimeType: String?,
    encoding: String?,
    historyUrl: String?
)
Unit
Unit
loadUrl(url: String, additionalHttpHeaders: MutableMap<String, String>)
WindowInsets
Unit
Boolean
Unit
onChildViewAdded(parent: View, child: View)
Unit
Unit
InputConnection
Unit
onCreateVirtualViewTranslationRequests(
    virtualIds: LongArray,
    supportedFormats: IntArray,
    requestsCollector: Consumer<ViewTranslationRequest>
)
Boolean
Unit
onDraw(canvas: Canvas)
Unit
Unit
onFocusChanged(
    focused: Boolean,
    direction: Int,
    previouslyFocusedRect: Rect?
)
Boolean
Unit
onGlobalFocusChanged(oldFocus: View, newFocus: View)
Boolean
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
Unit
Unit
Unit
PointerIcon
onResolvePointerIcon(event: MotionEvent, pointerIndex: Int)
Unit
Unit
onScrollChanged(l: Int, t: Int, oldl: Int, oldt: Int)
Unit
onSizeChanged(w: Int, h: Int, ow: Int, oh: Int)
Unit
Boolean
Unit
Unit
onVisibilityChanged(changedView: View, visibility: Int)
Unit
onWindowFocusChanged(hasWindowFocus: Boolean)
Unit
Boolean
Boolean
Boolean
pageDown(bottom: Boolean)
Boolean
Unit
Boolean
Unit
postUrl(url: String, postData: ByteArray)
Unit
postVisualStateCallback(
    requestId: Long,
    callback: WebView.VisualStateCallback
)
Unit
postWebMessage(message: WebMessage, targetOrigin: Uri)
Unit
Unit
Boolean
requestChildRectangleOnScreen(child: View, rect: Rect, immediate: Boolean)
Unit
Unit
WebBackForwardList?
restoreState(inState: Bundle)
Unit
Unit
savePassword(host: String, username: String, password: String)
WebBackForwardList?
saveState(outState: Bundle)
Unit
Unit
saveWebArchive(
    basename: String,
    autoname: Boolean,
    callback: ValueCallback<String>?
)
Unit
Unit
Unit
Unit
Unit
setHttpAuthUsernamePassword(
    host: String,
    realm: String,
    username: String,
    password: String
)
Unit
setInitialScale(scaleInPercent: Int)
Unit
Unit
Unit
Unit
setRendererPriorityPolicy(
    rendererRequestedPriority: Int,
    waivedWhenNotVisible: Boolean
)
Unit
Unit
Unit
setWebViewRenderProcessClient(
    executor: Executor,
    webViewRenderProcessClient: WebViewRenderProcessClient
)
Boolean
Boolean
showFindDialog(text: String?, showIme: Boolean)
Unit
Unit
zoomBy(zoomFactor: Float)
Boolean
Boolean

Inherited properties

From android.view.View
open View.AccessibilityDelegate

The setter for this property is deprecated. Use Modifier.semantics on WebSurface instead of View AccessibilityDelegate.

open Int

The setter for this property is deprecated. Use Modifier.semantics { liveRegion = ... } on WebSurface instead of View accessibilityLiveRegion.

open CharSequence?

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

open Int

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

open Int

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

open String?
open String?
open Float

The setter for this property is deprecated. Use Modifier.alpha instead of View alpha.

open Animation

The setter for this property is deprecated. Use Compose animation APIs and Modifier.graphicsLayer on WebSurface instead of View animations.

open Matrix?

The setter for this property is deprecated. Use Modifier.graphicsLayer on WebSurface instead of View animation matrix.

open IBinder
open MutableMap<Int, Int>
open Array<String>?
AutofillId
open Int
open AutofillValue?
open Drawable

The setter for this property is deprecated. Use Modifier.background instead of View background.

open BlendMode?

The setter for this property is deprecated. Use Modifier.background instead of View background tint blend mode.

open ColorStateList?

The setter for this property is deprecated. Use Modifier.background instead of View background tint.

open PorterDuff.Mode?

The setter for this property is deprecated. Use Modifier.background instead of View background tint mode.

open Int
Int
open Float
open Int
open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View camera distance.

open Rect

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

Boolean

The setter for this property is deprecated. Use Modifier.clip on WebSurface instead of View clipping.

ContentCaptureSession?
open CharSequence

The setter for this property is deprecated. Use Modifier.semantics { contentDescription = ... } on WebSurface instead of View contentDescription.

Int
Context
open ContextMenu.ContextMenuInfo
Boolean

The setter for this property is deprecated. Use Compose focus indication Modifiers on WebSurface instead of View.setDefaultFocusHighlightEnabled.

open Display
IntArray
open Bitmap

This property is deprecated. Deprecated in Java

open Int

This property is deprecated. Deprecated in Java

open Int

This property is deprecated. Deprecated in Java

open Long
open Float

The setter for this property is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View elevation.

open Int
open Boolean

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

open Boolean

The setter for this property is deprecated. Use Compose WindowInsets Modifiers on WebSurface instead of View fitsSystemWindows.

open Int

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

open Drawable

The setter for this property is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground.

open Int

The setter for this property is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground gravity.

open BlendMode?

The setter for this property is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint blend mode.

open ColorStateList?

The setter for this property is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint.

open PorterDuff.Mode?

The setter for this property is deprecated. Use Modifier.drawWithContent on WebSurface instead of View foreground tint mode.

open Float

The setter for this property is deprecated. Use Modifier.preferredFrameRate on WebSurface instead of View frameContentVelocity.

open Float
open Float
open Float
open Float
open Int
open Runnable?
Boolean
Int
open Int
open Int
open Drawable?

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Drawable?

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int
open Int

The setter for this property is deprecated. Use Modifier.semantics or Modifier.clearAndSetSemantics on WebSurface instead of View importantForAccessibility.

open Int
open Int
open Boolean
open Boolean
open Boolean

The setter for this property is deprecated. Use Modifier.semantics { heading() } on WebSurface instead of View accessibilityHeading.

open Boolean
open Boolean
open Boolean
open Boolean

The setter for this property is deprecated. WebView doesn't dispatch View click events for taps on web content.

open Boolean
Boolean
open Boolean

The setter for this property is deprecated. Use Compose pointer input Modifiers on WebSurface instead of View contextClickable.

open Boolean

This property is deprecated. Deprecated in Java

open Boolean
open Boolean

This property is deprecated. Deprecated in Java

open Boolean
open Boolean

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

Boolean

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

Boolean

The setter for this property is deprecated. Use Modifier.focusProperties { canFocus = ... } on WebSurface instead of View.setFocusableInTouchMode.

open Boolean
Boolean

The setter for this property is deprecated. Use FocusRequester and Modifier.focusRequester on WebSurface instead of View.setFocusedByDefault.

open Boolean

The setter for this property is deprecated. View force dark is not supported by WebSurface.

open Boolean
open Boolean
open Boolean
open Boolean

The setter for this property is deprecated. View fading edges are not drawn by WebSurface.

open Boolean

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Boolean
open Boolean
Boolean
Boolean
open Boolean
open Boolean
open Boolean
Boolean

The setter for this property is deprecated. Use Modifier.focusGroup on WebSurface instead of View.setKeyboardNavigationCluster.

open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
Boolean
open Boolean
open Boolean
open Boolean
open Boolean

The setter for this property is deprecated. Use Modifier.semantics(mergeDescendants = true) on WebSurface instead of View screenReaderFocusable.

open Boolean
open Boolean

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Boolean
Boolean
open Boolean
open Boolean
Boolean
open Boolean
open Boolean
open Boolean

The setter for this property is deprecated. View fading edges are not drawn by WebSurface.

open Boolean

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Boolean

The setter for this property is deprecated. Use Modifier.keepScreenOn on WebSurface instead of View keepScreenOn.

open KeyEvent.DispatcherState
open Int

The setter for this property is deprecated. Use Modifier.semantics on WebSurface instead of View labelFor.

open Int
open Int
open ViewGroup.LayoutParams

The setter for this property is deprecated. Use Compose size and layout Modifiers on WebSurface instead of LayoutParams.

Int
open Float
open Int
open Matrix
Int
Int
Int
Int
Int
open Int

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

open Int

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

open Int

The setter for this property is deprecated. Use Modifier.focusProperties on WebSurface instead of View.setNextClusterForwardId.

open Int

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

open Int

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

open Int

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

open Int

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

open Int

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

open View.OnFocusChangeListener

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

open Int

The setter for this property is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

open ViewOutlineProvider

The setter for this property is deprecated. Use Modifier.clip or Modifier.graphicsLayer instead of View outline provider.

open Int

The setter for this property is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View shadow color.

open Int

The setter for this property is deprecated. WebSurface passes overscroll to parents through nested scrolling.

open Int
open Int
open Int
open Int
open Int
open Int
final ViewParent
open ViewParent
OutcomeReceiver<GetCredentialResponse, GetCredentialException>?
GetCredentialRequest?
open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View pivot.

open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View pivot.

open PointerIcon

The setter for this property is deprecated. Use Modifier.pointerHoverIcon on WebSurface instead of View pointerIcon.

MutableList<Rect>
open Array<String>?
open Float

The setter for this property is deprecated. Use Modifier.preferredFrameRate on WebSurface instead of View requestedFrameRate.

open Resources
Boolean
Int
open Float
open Int
open AttachedSurfaceControl?
open View
open WindowInsets
open Float

The setter for this property is deprecated. Use Modifier.rotate or Modifier.graphicsLayer instead of View rotation.

open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View rotation.

open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View rotation.

open Float

The setter for this property is deprecated. Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

open Float

The setter for this property is deprecated. Use Modifier.scale or Modifier.graphicsLayer instead of View scale.

open Int

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int
open Int

The setter for this property is deprecated. View scroll indicators are not drawn by WebSurface.

Int
Int
open Int
open Int
CharSequence?

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

open StateListAnimator

The setter for this property is deprecated. Use Compose animation APIs on WebSurface instead of View StateListAnimator.

open Int
open Int
open CharSequence?
open MutableList<Rect>

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

open Int

This property is deprecated. Deprecated in Java

open Any
open Int
open Int
open CharSequence?

The setter for this property is deprecated. Use Compose Tooltip APIs on WebSurface instead of View tooltip text.

Int
open Float
open Int
open TouchDelegate
open ArrayList<View>
open Float

The setter for this property is deprecated. Use Modifier.alpha instead of View transition alpha.

open String
open Float

The setter for this property is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

open Float

The setter for this property is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View translation.

open Float

The setter for this property is deprecated. Use Modifier.graphicsLayer instead of View translation.

open Long
open Int
open Int

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Drawable?

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Drawable?

The setter for this property is deprecated. View scrollbars are not drawn by WebSurface.

open Int
open ViewTranslationResponse?
open ViewTreeObserver
open Int

The setter for this property is deprecated. Use conditional composition instead of View visibility.

Int
open Int
open WindowId
open WindowInsetsController?
open Int

This property is deprecated. Deprecated in Java

open IBinder
open Int
open Float

The setter for this property is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View position.

open Float

The setter for this property is deprecated. Use Modifier.offset or Modifier.graphicsLayer instead of View position.

open Float

The setter for this property is deprecated. Use Modifier.shadow or Modifier.graphicsLayer instead of View z-order.

From android.view.ViewGroup
open Int
open Boolean

The setter for this property is deprecated. Use Modifier.clip or Modifier.clipToBounds on WebSurface instead of ViewGroup clipping.

open Boolean

The setter for this property is deprecated. Use Modifier.padding and Modifier.clipToBounds on WebSurface instead of ViewGroup clipToPadding.

open Int
open View
open Boolean

This property is deprecated. Deprecated in Java

open Boolean

This property is deprecated. Deprecated in Java

open Boolean
open Boolean

This property is deprecated. Deprecated in Java

open Boolean
open Boolean
open Boolean
open LayoutAnimationController
open Animation.AnimationListener
open Int
open LayoutTransition
open Int
open ViewGroupOverlay
open Int

This property is deprecated. Deprecated in Java

open Boolean
From android.webkit.WebView
open CharSequence
open AccessibilityNodeProvider
open SslCertificate?

The setter for this property is deprecated. Deprecated in Java

open Int
open Bitmap?
open Handler
open WebView.HitTestResult
open Boolean
open String?
open Int
open Boolean
open Int
open Float

This property is deprecated. Deprecated in Java

open WebSettings
open TextClassifier
open String?
open String?
open WebChromeClient?

The setter for this property is deprecated. Use WebChromeClientBridge instead of WebChromeClient with WebViewBridge.

open WebViewClient
open Looper
open WebViewRenderProcess?
open WebViewRenderProcessClient?

Public constructors

WebViewBridge

Added in 1.0.0-alpha02
WebViewBridge(context: Context)

WebViewBridge

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
WebViewBridge(context: Context, attrs: AttributeSet?)

WebViewBridge

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
WebViewBridge(context: Context, attrs: AttributeSet?, defStyleAttr: Int)

Public functions

addOnAttachStateChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addOnAttachStateChangeListener(
    listener: View.OnAttachStateChangeListener
): Unit

addOnLayoutChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addOnLayoutChangeListener(listener: View.OnLayoutChangeListener?): Unit

addOnUnhandledKeyEventListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun addOnUnhandledKeyEventListener(
    listener: View.OnUnhandledKeyEventListener?
): Unit

addView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addView(child: View?): Unit

addView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addView(child: View?, index: Int): Unit

addView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addView(child: View?, params: ViewGroup.LayoutParams?): Unit

addView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addView(child: View?, index: Int, params: ViewGroup.LayoutParams?): Unit

addView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun addView(child: View?, width: Int, height: Int): Unit

animate

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun animate(): ViewPropertyAnimator

bringToFront

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun bringToFront(): Unit

callOnClick

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun callOnClick(): Boolean

clearAnimation

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun clearAnimation(): Unit

clearFocus

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun clearFocus(): Unit

dispatchTouchEvent

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun dispatchTouchEvent(ev: MotionEvent?): Boolean

invalidateOutline

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun invalidateOutline(): Unit

invokeZoomPicker

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun invokeZoomPicker(): Unit

offsetLeftAndRight

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun offsetLeftAndRight(offset: Int): Unit

offsetTopAndBottom

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun offsetTopAndBottom(offset: Int): Unit

onInterceptTouchEvent

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun onInterceptTouchEvent(ev: MotionEvent?): Boolean

onTouchEvent

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun onTouchEvent(event: MotionEvent): Boolean

performClick

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun performClick(): Boolean

removeAllViews

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeAllViews(): Unit

removeAllViewsInLayout

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeAllViewsInLayout(): Unit

removeOnAttachStateChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeOnAttachStateChangeListener(
    listener: View.OnAttachStateChangeListener
): Unit

removeOnLayoutChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeOnLayoutChangeListener(listener: View.OnLayoutChangeListener?): Unit

removeOnUnhandledKeyEventListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun removeOnUnhandledKeyEventListener(
    listener: View.OnUnhandledKeyEventListener?
): Unit

removeView

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeView(view: View?): Unit

removeViewAt

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeViewAt(index: Int): Unit

removeViewInLayout

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeViewInLayout(view: View?): Unit

removeViews

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeViews(start: Int, count: Int): Unit

removeViewsInLayout

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun removeViewsInLayout(start: Int, count: Int): Unit

requestFocus

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun requestFocus(direction: Int, previouslyFocusedRect: Rect?): Boolean

resetPivot

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun resetPivot(): Unit

restoreDefaultFocus

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun restoreDefaultFocus(): Boolean

setAccessibilityDataSensitive

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 34)
open fun setAccessibilityDataSensitive(accessibilityDataSensitive: Int): Unit

setAccessibilityDelegate

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAccessibilityDelegate(delegate: View.AccessibilityDelegate?): Unit

setAccessibilityHeading

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun setAccessibilityHeading(isHeading: Boolean): Unit

setAccessibilityLiveRegion

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAccessibilityLiveRegion(mode: Int): Unit

setAccessibilityPaneTitle

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence?): Unit

setAccessibilityTraversalAfter

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAccessibilityTraversalAfter(afterId: Int): Unit

setAccessibilityTraversalBefore

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAccessibilityTraversalBefore(beforeId: Int): Unit

setAlpha

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAlpha(alpha: Float): Unit

setAnimation

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setAnimation(animation: Animation?): Unit

setAnimationMatrix

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setAnimationMatrix(matrix: Matrix?): Unit

setBackground

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setBackground(background: Drawable?): Unit

setBackgroundDrawable

open fun setBackgroundDrawable(background: Drawable?): Unit

setBackgroundResource

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setBackgroundResource(resid: Int): Unit

setBackgroundTintBlendMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setBackgroundTintBlendMode(blendMode: BlendMode?): Unit

setBackgroundTintList

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setBackgroundTintList(tint: ColorStateList?): Unit

setBackgroundTintMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setBackgroundTintMode(tintMode: PorterDuff.Mode?): Unit

setCameraDistance

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setCameraDistance(distance: Float): Unit

setClickable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setClickable(clickable: Boolean): Unit

setClipBounds

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setClipBounds(clipBounds: Rect?): Unit

setClipChildren

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setClipChildren(clipChildren: Boolean): Unit

setClipToOutline

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setClipToOutline(clipToOutline: Boolean): Unit

setClipToPadding

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setClipToPadding(clipToPadding: Boolean): Unit

setContentDescription

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setContentDescription(contentDescription: CharSequence?): Unit

setContextClickable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setContextClickable(contextClickable: Boolean): Unit

setDefaultFocusHighlightEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setDefaultFocusHighlightEnabled(defaultFocusHighlightEnabled: Boolean): Unit

setElevation

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setElevation(elevation: Float): Unit

setEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setEnabled(enabled: Boolean): Unit

setFadingEdgeLength

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setFadingEdgeLength(length: Int): Unit

setFilterTouchesWhenObscured

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setFilterTouchesWhenObscured(enabled: Boolean): Unit

setFitsSystemWindows

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setFitsSystemWindows(fitSystemWindows: Boolean): Unit

setFocusable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setFocusable(focusable: Boolean): Unit

setFocusable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setFocusable(focusable: Int): Unit

setFocusableInTouchMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setFocusableInTouchMode(focusableInTouchMode: Boolean): Unit

setFocusedByDefault

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setFocusedByDefault(isFocusedByDefault: Boolean): Unit

setForceDarkAllowed

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setForceDarkAllowed(allow: Boolean): Unit

setForeground

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setForeground(foreground: Drawable?): Unit

setForegroundGravity

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setForegroundGravity(gravity: Int): Unit

setForegroundTintBlendMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setForegroundTintBlendMode(blendMode: BlendMode?): Unit

setForegroundTintList

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setForegroundTintList(tint: ColorStateList?): Unit

setForegroundTintMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setForegroundTintMode(tintMode: PorterDuff.Mode?): Unit

setFrameContentVelocity

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 35)
open fun setFrameContentVelocity(pixelsPerSecond: Float): Unit

setHorizontalFadingEdgeEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setHorizontalFadingEdgeEnabled(horizontalFadingEdgeEnabled: Boolean): Unit

setHorizontalScrollBarEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setHorizontalScrollBarEnabled(horizontalScrollBarEnabled: Boolean): Unit

setHorizontalScrollbarThumbDrawable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setHorizontalScrollbarThumbDrawable(drawable: Drawable?): Unit

setHorizontalScrollbarTrackDrawable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setHorizontalScrollbarTrackDrawable(drawable: Drawable?): Unit

setImportantForAccessibility

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setImportantForAccessibility(mode: Int): Unit

setKeepScreenOn

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setKeepScreenOn(keepScreenOn: Boolean): Unit

setKeyboardNavigationCluster

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setKeyboardNavigationCluster(isCluster: Boolean): Unit

setLabelFor

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setLabelFor(id: Int): Unit

setLayerPaint

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setLayerPaint(paint: Paint?): Unit

setLayerType

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setLayerType(layerType: Int, paint: Paint?): Unit

setLayoutParams

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setLayoutParams(params: ViewGroup.LayoutParams?): Unit

setMinimumHeight

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setMinimumHeight(minHeight: Int): Unit

setMinimumWidth

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setMinimumWidth(minWidth: Int): Unit

setNextClusterForwardId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setNextClusterForwardId(nextClusterForwardId: Int): Unit

setNextFocusDownId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setNextFocusDownId(nextFocusDownId: Int): Unit

setNextFocusForwardId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setNextFocusForwardId(nextFocusForwardId: Int): Unit

setNextFocusLeftId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setNextFocusLeftId(nextFocusLeftId: Int): Unit

setNextFocusRightId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setNextFocusRightId(nextFocusRightId: Int): Unit

setNextFocusUpId

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setNextFocusUpId(nextFocusUpId: Int): Unit

setOnApplyWindowInsetsListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnApplyWindowInsetsListener(
    listener: View.OnApplyWindowInsetsListener?
): Unit

setOnCapturedPointerListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setOnCapturedPointerListener(l: View.OnCapturedPointerListener?): Unit

setOnClickListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnClickListener(l: View.OnClickListener?): Unit

setOnContextClickListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnContextClickListener(l: View.OnContextClickListener?): Unit

setOnDragListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnDragListener(l: View.OnDragListener?): Unit

setOnFocusChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnFocusChangeListener(l: View.OnFocusChangeListener?): Unit

setOnGenericMotionListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnGenericMotionListener(l: View.OnGenericMotionListener?): Unit

setOnHierarchyChangeListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnHierarchyChangeListener(
    listener: ViewGroup.OnHierarchyChangeListener?
): Unit

setOnHoverListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnHoverListener(l: View.OnHoverListener?): Unit

setOnKeyListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnKeyListener(l: View.OnKeyListener?): Unit

setOnTouchListener

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOnTouchListener(l: View.OnTouchListener?): Unit

setOutlineAmbientShadowColor

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun setOutlineAmbientShadowColor(color: Int): Unit

setOutlineProvider

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOutlineProvider(provider: ViewOutlineProvider?): Unit

setOutlineSpotShadowColor

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun setOutlineSpotShadowColor(color: Int): Unit

setOverScrollMode

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setOverScrollMode(mode: Int): Unit

setPadding

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setPadding(left: Int, top: Int, right: Int, bottom: Int): Unit

setPaddingRelative

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int): Unit

setPivotX

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setPivotX(pivotX: Float): Unit

setPivotY

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setPivotY(pivotY: Float): Unit

setPointerIcon

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setPointerIcon(pointerIcon: PointerIcon?): Unit

setRenderEffect

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 31)
open fun setRenderEffect(renderEffect: RenderEffect?): Unit

setRequestedFrameRate

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 35)
open fun setRequestedFrameRate(frameRate: Float): Unit

setRotation

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setRotation(rotation: Float): Unit

setRotationX

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setRotationX(rotationX: Float): Unit

setRotationY

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setRotationY(rotationY: Float): Unit

setScaleX

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScaleX(scaleX: Float): Unit

setScaleY

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScaleY(scaleY: Float): Unit

setScreenReaderFocusable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 28)
open fun setScreenReaderFocusable(screenReaderFocusable: Boolean): Unit

setScrollBarDefaultDelayBeforeFade

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollBarDefaultDelayBeforeFade(
    scrollBarDefaultDelayBeforeFade: Int
): Unit

setScrollBarFadeDuration

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollBarFadeDuration(scrollBarFadeDuration: Int): Unit

setScrollBarSize

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollBarSize(scrollBarSize: Int): Unit

setScrollBarStyle

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollBarStyle(style: Int): Unit

setScrollIndicators

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollIndicators(indicators: Int): Unit

setScrollIndicators

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollIndicators(indicators: Int, mask: Int): Unit

setScrollbarFadingEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setScrollbarFadingEnabled(fadeScrollbars: Boolean): Unit

setStateDescription

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 30)
open fun setStateDescription(stateDescription: CharSequence?): Unit

setStateListAnimator

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setStateListAnimator(stateListAnimator: StateListAnimator?): Unit

setSystemGestureExclusionRects

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setSystemGestureExclusionRects(rects: MutableList<Rect>): Unit

setTooltipText

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 26)
open fun setTooltipText(tooltipText: CharSequence?): Unit

setTransitionAlpha

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setTransitionAlpha(alpha: Float): Unit

setTransitionVisibility

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setTransitionVisibility(visibility: Int): Unit

setTranslationX

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setTranslationX(translationX: Float): Unit

setTranslationY

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setTranslationY(translationY: Float): Unit

setTranslationZ

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setTranslationZ(translationZ: Float): Unit

setVerticalFadingEdgeEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setVerticalFadingEdgeEnabled(verticalFadingEdgeEnabled: Boolean): Unit

setVerticalScrollBarEnabled

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setVerticalScrollBarEnabled(verticalScrollBarEnabled: Boolean): Unit

setVerticalScrollbarPosition

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setVerticalScrollbarPosition(position: Int): Unit

setVerticalScrollbarThumbDrawable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setVerticalScrollbarThumbDrawable(drawable: Drawable?): Unit

setVerticalScrollbarTrackDrawable

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 29)
open fun setVerticalScrollbarTrackDrawable(drawable: Drawable?): Unit

setVisibility

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setVisibility(visibility: Int): Unit

setWebChromeClient

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setWebChromeClient(client: WebChromeClient?): Unit

setWebChromeClient

Added in 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
Deprecated in 1.0.0-alpha02
@RequiresApi(value = 30)
open fun setWindowInsetsAnimationCallback(
    callback: WindowInsetsAnimation.Callback?
): Unit

setX

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setX(x: Float): Unit

setY

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setY(y: Float): Unit

setZ

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun setZ(z: Float): Unit

startAnimation

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun startAnimation(animation: Animation?): Unit

updateViewLayout

Added in 1.0.0-alpha02
Deprecated in 1.0.0-alpha02
open fun updateViewLayout(view: View?, params: ViewGroup.LayoutParams?): Unit