com.bitmovin.player
PlayerView
class PlayerView : FrameLayout, UserInterfaceApi, EventEmitter<Event>
A view that provides the Bitmovin Player Web UI and default UI handling to an attached Player instance. A Player with a custom PlayerConfig can be provided. If no player is provided, a player with a default PlayerConfig will be created. In order to not create such a default player, null can be passed in the constructor.
When inflating this view, a player with a default PlayerConfig will be created. In order to inflate without a player, initialize_player can be set to false in the XML layout.
Constructors
| PlayerView | constructor(context: Context) @JvmOverloads constructor(context: Context, player: Player?, config: PlayerViewConfig = PlayerViewConfig())constructor(context: Context, attrs: AttributeSet?)constructor(context: Context, attrs: AttributeSet?, defStyle: Int = 0) |
Properties
| Name | Summary |
|---|---|
| accessibilityClassName | open val accessibilityClassName: CharSequence? |
| accessibilityDelegate | open var accessibilityDelegate: View.AccessibilityDelegate? |
| accessibilityLiveRegion | open var accessibilityLiveRegion: Int |
| accessibilityNodeProvider | open val accessibilityNodeProvider: AccessibilityNodeProvider? |
| accessibilityPaneTitle | open var accessibilityPaneTitle: CharSequence? |
| accessibilityTraversalAfter | open var accessibilityTraversalAfter: Int |
| accessibilityTraversalBefore | open var accessibilityTraversalBefore: Int |
| allowedHandwritingDelegatePackageName | open val allowedHandwritingDelegatePackageName: String? |
| allowedHandwritingDelegatorPackageName | open val allowedHandwritingDelegatorPackageName: String? |
| alpha | open var alpha: Float |
| animation | open var animation: Animation? |
| animationMatrix | open var animationMatrix: Matrix? |
| applicationWindowToken | open val applicationWindowToken: IBinder? |
| attributeSourceResourceMap | open val attributeSourceResourceMap: Map<Int?, Int?> |
| autofillHints | open val autofillHints: Array<out String?>?? |
| autofillId | var autofillId: AutofillId? |
| autofillType | open val autofillType: Int |
| autofillValue | open val autofillValue: AutofillValue? |
| background | open var background: Drawable? |
| backgroundTintBlendMode | open var backgroundTintBlendMode: BlendMode? |
| backgroundTintList | open var backgroundTintList: ColorStateList? |
| backgroundTintMode | open var backgroundTintMode: PorterDuff.Mode? |
| baseline | open val baseline: Int |
| bottom | var bottom: Int |
| cameraDistance | open var cameraDistance: Float |
| childCount | open val childCount: Int |
| clipBounds | open var clipBounds: Rect? |
| clipChildren | open var clipChildren: Boolean |
| clipToOutline | var clipToOutline: Boolean |
| clipToPadding | open var clipToPadding: Boolean |
| config | val config: PlayerViewConfig Configures the visual presentation and behaviour of this PlayerView. |
| considerGoneChildrenWhenMeasuring | open val considerGoneChildrenWhenMeasuring: Boolean |
| contentCaptureSession | var contentCaptureSession: ContentCaptureSession? |
| contentDescription | open var contentDescription: CharSequence? |
| contentSensitivity | var contentSensitivity: Int |
| context | val context: Context? |
| defaultFocusHighlightEnabled | var defaultFocusHighlightEnabled: Boolean |
| descendantFocusability | open var descendantFocusability: Int |
| display | open val display: Display? |
| drawableState | val drawableState: IntArray? |
| drawingCache | open val drawingCache: Bitmap? |
| drawingCacheBackgroundColor | open var drawingCacheBackgroundColor: Int |
| drawingCacheQuality | open var drawingCacheQuality: Int |
| drawingTime | open val drawingTime: Long |
| elevation | open var elevation: Float |
| explicitStyle | open val explicitStyle: Int |
| filterTouchesWhenObscured | open var filterTouchesWhenObscured: Boolean |
| fitsSystemWindows | open var fitsSystemWindows: Boolean |
| focusable | open var focusable: Int |
| focusedChild | open val focusedChild: View? |
| foreground | open var foreground: Drawable? |
| foregroundGravity | open var foregroundGravity: Int |
| foregroundTintBlendMode | open var foregroundTintBlendMode: BlendMode? |
| foregroundTintList | open var foregroundTintList: ColorStateList? |
| foregroundTintMode | open var foregroundTintMode: PorterDuff.Mode? |
| frameContentVelocity | open var frameContentVelocity: Float |
| handler | open val handler: Handler? |
| handwritingBoundsOffsetBottom | open val handwritingBoundsOffsetBottom: Float |
| handwritingBoundsOffsetLeft | open val handwritingBoundsOffsetLeft: Float |
| handwritingBoundsOffsetRight | open val handwritingBoundsOffsetRight: Float |
| handwritingBoundsOffsetTop | open val handwritingBoundsOffsetTop: Float |
| handwritingDelegateFlags | open var handwritingDelegateFlags: Int |
| handwritingDelegatorCallback | open var handwritingDelegatorCallback: Runnable? |
| hasOverlappingRendering | val hasOverlappingRendering: Boolean |
| height | val height: Int |
| horizontalFadingEdgeLength | open val horizontalFadingEdgeLength: Int |
| horizontalScrollbarThumbDrawable | open var horizontalScrollbarThumbDrawable: Drawable? |
| horizontalScrollbarTrackDrawable | open var horizontalScrollbarTrackDrawable: Drawable? |
| id | open var id: Int |
| importantForAccessibility | open var importantForAccessibility: Int |
| importantForAutofill | open var importantForAutofill: Int |
| importantForContentCapture | open var importantForContentCapture: Int |
| isAccessibilityDataSensitive | open val isAccessibilityDataSensitive: Boolean |
| isAccessibilityFocused | open val isAccessibilityFocused: Boolean |
| isAccessibilityHeading | open var isAccessibilityHeading: Boolean |
| isActivated | open var isActivated: Boolean |
| isAlwaysDrawnWithCacheEnabled | open var isAlwaysDrawnWithCacheEnabled: Boolean |
| isAnimationCacheEnabled | open var isAnimationCacheEnabled: Boolean |
| isAttachedToWindow | open val isAttachedToWindow: Boolean |
| isAutoHandwritingEnabled | open var isAutoHandwritingEnabled: Boolean |
| isClickable | open var isClickable: Boolean |
| isContentSensitive | val isContentSensitive: Boolean |
| isContextClickable | open var isContextClickable: Boolean |
| isCredential | open val isCredential: Boolean |
| isDirty | open val isDirty: Boolean |
| isDrawingCacheEnabled | open var isDrawingCacheEnabled: Boolean |
| isDuplicateParentStateEnabled | open var isDuplicateParentStateEnabled: Boolean |
| isEnabled | open var isEnabled: Boolean |
| isFocusable | var isFocusable: Boolean |
| isFocusableInTouchMode | var isFocusableInTouchMode: Boolean |
| isFocused | open val isFocused: Boolean |
| isFocusedByDefault | var isFocusedByDefault: Boolean |
| isForceDarkAllowed | open var isForceDarkAllowed: Boolean |
| isFullscreen | open override val isFullscreen: Boolean |
| isFullscreenAvailable | open override val isFullscreenAvailable: Boolean |
| isHandwritingDelegate | open val isHandwritingDelegate: Boolean |
| isHapticFeedbackEnabled | open var isHapticFeedbackEnabled: Boolean |
| isHardwareAccelerated | open val isHardwareAccelerated: Boolean |
| isHorizontalFadingEdgeEnabled | open var isHorizontalFadingEdgeEnabled: Boolean |
| isHorizontalScrollBarEnabled | open var isHorizontalScrollBarEnabled: Boolean |
| isHovered | open var isHovered: Boolean |
| isImportantForAccessibility | open val isImportantForAccessibility: Boolean |
| isImportantForAutofill | val isImportantForAutofill: Boolean |
| isImportantForContentCapture | val isImportantForContentCapture: Boolean |
| isInEditMode | open val isInEditMode: Boolean |
| isInLayout | open val isInLayout: Boolean |
| isInTouchMode | open val isInTouchMode: Boolean |
| isKeyboardNavigationCluster | var isKeyboardNavigationCluster: Boolean |
| isLaidOut | open val isLaidOut: Boolean |
| isLayoutDirectionResolved | open override val isLayoutDirectionResolved: Boolean |
| isLayoutRequested | open override val isLayoutRequested: Boolean |
| isLayoutSuppressed | open val isLayoutSuppressed: Boolean |
| isLongClickable | open var isLongClickable: Boolean |
| isMotionEventSplittingEnabled | open var isMotionEventSplittingEnabled: Boolean |
| isNestedScrollingEnabled | open var isNestedScrollingEnabled: Boolean |
| isOpaque | open val isOpaque: Boolean |
| isPaddingRelative | open val isPaddingRelative: Boolean |
| isPictureInPicture | open override val isPictureInPicture: Boolean |
| isPictureInPictureAvailable | open override val isPictureInPictureAvailable: Boolean |
| isPivotSet | open val isPivotSet: Boolean |
| isPreferKeepClear | var isPreferKeepClear: Boolean |
| isPressed | open var isPressed: Boolean |
| isSaveEnabled | open var isSaveEnabled: Boolean |
| isSaveFromParentEnabled | open var isSaveFromParentEnabled: Boolean |
| isScreenReaderFocusable | open var isScreenReaderFocusable: Boolean |
| isScrollbarFadingEnabled | open var isScrollbarFadingEnabled: Boolean |
| isScrollContainer | open var isScrollContainer: Boolean |
| isSelected | open var isSelected: Boolean |
| isShowingLayoutBounds | val isShowingLayoutBounds: Boolean |
| isShown | open val isShown: Boolean |
| isSoundEffectsEnabled | open var isSoundEffectsEnabled: Boolean |
| isTemporarilyDetached | val isTemporarilyDetached: Boolean |
| isTextAlignmentResolved | open override val isTextAlignmentResolved: Boolean |
| isTextDirectionResolved | open override val isTextDirectionResolved: Boolean |
| isTransitionGroup | open var isTransitionGroup: Boolean |
| isUiVisible | open override var isUiVisible: Boolean |
| isVerticalFadingEdgeEnabled | open var isVerticalFadingEdgeEnabled: Boolean |
| isVerticalScrollBarEnabled | open var isVerticalScrollBarEnabled: Boolean |
| keepScreenOn | open var keepScreenOn: Boolean |
| keyDispatcherState | open val keyDispatcherState: KeyEvent.DispatcherState? |
| labelFor | open var labelFor: Int |
| layerType | open val layerType: Int |
| layoutAnimation | open var layoutAnimation: LayoutAnimationController? |
| layoutAnimationListener | open var layoutAnimationListener: Animation.AnimationListener? |
| layoutDirection | open override var layoutDirection: Int |
| layoutMode | open var layoutMode: Int |
| layoutParams | open var layoutParams: ViewGroup.LayoutParams? |
| layoutTransition | open var layoutTransition: LayoutTransition? |
| left | var left: Int |
| matrix | open val matrix: Matrix? |
| measureAllChildren | open var measureAllChildren: Boolean |
| measuredHeight | val measuredHeight: Int |
| measuredHeightAndState | val measuredHeightAndState: Int |
| measuredState | val measuredState: Int |
| measuredWidth | val measuredWidth: Int |
| measuredWidthAndState | val measuredWidthAndState: Int |
| minimumHeight | open var minimumHeight: Int |
| minimumWidth | open var minimumWidth: Int |
| nestedScrollAxes | open val nestedScrollAxes: Int |
| nextClusterForwardId | open var nextClusterForwardId: Int |
| nextFocusDownId | open var nextFocusDownId: Int |
| nextFocusForwardId | open var nextFocusForwardId: Int |
| nextFocusLeftId | open var nextFocusLeftId: Int |
| nextFocusRightId | open var nextFocusRightId: Int |
| nextFocusUpId | open var nextFocusUpId: Int |
| onFocusChangeListener | open var onFocusChangeListener: View.OnFocusChangeListener? |
| outlineAmbientShadowColor | open var outlineAmbientShadowColor: Int |
| outlineProvider | open var outlineProvider: ViewOutlineProvider? |
| outlineSpotShadowColor | open var outlineSpotShadowColor: Int |
| overlay | open val overlay: ViewGroupOverlay? |
| overScrollMode | open var overScrollMode: Int |
| paddingBottom | open val paddingBottom: Int |
| paddingEnd | open val paddingEnd: Int |
| paddingLeft | open val paddingLeft: Int |
| paddingRight | open val paddingRight: Int |
| paddingStart | open val paddingStart: Int |
| paddingTop | open val paddingTop: Int |
| parent | override val parent: ViewParent? |
| parentForAccessibility | open override val parentForAccessibility: ViewParent? |
| pendingCredentialCallback | val pendingCredentialCallback: OutcomeReceiver<GetCredentialResponse?, GetCredentialException?>? |
| pendingCredentialRequest | val pendingCredentialRequest: GetCredentialRequest? |
| persistentDrawingCache | open var persistentDrawingCache: Int |
| pivotX | open var pivotX: Float |
| pivotY | open var pivotY: Float |
| player | open override var player: Player? |
| pointerIcon | open var pointerIcon: PointerIcon? |
| preferKeepClearRects | var preferKeepClearRects: List<Rect?> |
| receiveContentMimeTypes | open val receiveContentMimeTypes: Array<out String?>?? |
| requestedFrameRate | open var requestedFrameRate: Float |
| resources | open val resources: Resources? |
| revealOnFocusHint | var revealOnFocusHint: Boolean |
| right | var right: Int |
| rootSurfaceControl | open val rootSurfaceControl: AttachedSurfaceControl? |
| rootView | open val rootView: View? |
| rootWindowInsets | open val rootWindowInsets: WindowInsets? |
| rotation | open var rotation: Float |
| rotationX | open var rotationX: Float |
| rotationY | open var rotationY: Float |
| scaleX | open var scaleX: Float |
| scaleY | open var scaleY: Float |
| scalingMode | open override var scalingMode: ScalingMode |
| scrollBarDefaultDelayBeforeFade | open var scrollBarDefaultDelayBeforeFade: Int |
| scrollBarFadeDuration | open var scrollBarFadeDuration: Int |
| scrollBarSize | open var scrollBarSize: Int |
| scrollBarStyle | open var scrollBarStyle: Int |
| scrollCaptureHint | open var scrollCaptureHint: Int |
| scrollIndicators | open var scrollIndicators: Int |
| scrollX | var scrollX: Int |
| scrollY | var scrollY: Int |
| solidColor | open val solidColor: Int |
| sourceLayoutResId | open val sourceLayoutResId: Int |
| stateDescription | var stateDescription: CharSequence? |
| stateListAnimator | open var stateListAnimator: StateListAnimator? |
| supplementalDescription | open var supplementalDescription: CharSequence? |
| systemGestureExclusionRects | open var systemGestureExclusionRects: List<Rect?> |
| systemUiVisibility | open var systemUiVisibility: Int |
| tag | open var tag: Any? |
| textAlignment | open override var textAlignment: Int |
| textDirection | open override var textDirection: Int |
| tooltipText | open var tooltipText: CharSequence? |
| top | var top: Int |
| touchables | open val touchables: ArrayList<View?>? |
| touchDelegate | open var touchDelegate: TouchDelegate? |
| touchscreenBlocksFocus | open var touchscreenBlocksFocus: Boolean |
| transitionAlpha | open var transitionAlpha: Float |
| transitionName | open var transitionName: String? |
| translationX | open var translationX: Float |
| translationY | open var translationY: Float |
| translationZ | open var translationZ: Float |
| uniqueDrawingId | open val uniqueDrawingId: Long |
| verticalFadingEdgeLength | open val verticalFadingEdgeLength: Int |
| verticalScrollbarPosition | open var verticalScrollbarPosition: Int |
| verticalScrollbarThumbDrawable | open var verticalScrollbarThumbDrawable: Drawable? |
| verticalScrollbarTrackDrawable | open var verticalScrollbarTrackDrawable: Drawable? |
| verticalScrollbarWidth | open val verticalScrollbarWidth: Int |
| viewTranslationResponse | open val viewTranslationResponse: ViewTranslationResponse? |
| viewTreeObserver | open val viewTreeObserver: ViewTreeObserver? |
| visibility | open var visibility: Int |
| width | val width: Int |
| windowId | open val windowId: WindowId? |
| windowInsetsController | open val windowInsetsController: WindowInsetsController? |
| windowSystemUiVisibility | open val windowSystemUiVisibility: Int |
| windowToken | open val windowToken: IBinder? |
| windowVisibility | open val windowVisibility: Int |
| x | open var x: Float |
| y | open var y: Float |
| z | open var z: Float |
Functions
| Name | Summary |
|---|---|
| addChildrenForAccessibility | open fun addChildrenForAccessibility(outChildren: ArrayList<View?>?) |
| addExtraDataToAccessibilityNodeInfo | open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle?) |
| addFocusables | open fun addFocusables(views: ArrayList<View?>?, direction: Int) open fun addFocusables(views: ArrayList<View?>?, direction: Int, focusableMode: Int) |
| addKeyboardNavigationClusters | open fun addKeyboardNavigationClusters(views: Collection<View?>, direction: Int) |
| addOnAttachStateChangeListener | open fun addOnAttachStateChangeListener(listener: View.OnAttachStateChangeListener?) |
| addOnLayoutChangeListener | open fun addOnLayoutChangeListener(listener: View.OnLayoutChangeListener?) |
| addOnUnhandledKeyEventListener | open fun addOnUnhandledKeyEventListener(listener: View.OnUnhandledKeyEventListener?) |
| addStatesFromChildren | open fun addStatesFromChildren(): Boolean |
| addTouchables | open fun addTouchables(views: ArrayList<View?>?) |
| addView | open fun addView(child: View?) open fun addView(child: View?, index: Int) open fun addView(child: View?, index: Int, params: ViewGroup.LayoutParams?) open fun addView(child: View?, width: Int, height: Int) open fun addView(child: View?, params: ViewGroup.LayoutParams?) |
| animate | open fun animate(): ViewPropertyAnimator? |
| announceForAccessibility | open fun |
| autofill | open fun autofill(values: SparseArray<AutofillValue?>) open fun autofill(value: AutofillValue?) |
| bringChildToFront | open fun bringChildToFront(child: View?) |
| bringToFront | open fun bringToFront() |
| buildDrawingCache | open fun open fun |
| buildLayer | open fun buildLayer() |
| callOnClick | open fun callOnClick(): Boolean |
| cancelDragAndDrop | fun cancelDragAndDrop() |
| cancelLongPress | open fun cancelLongPress() |
| cancelPendingInputEvents | fun cancelPendingInputEvents() |
| canResolveLayoutDirection | open fun canResolveLayoutDirection(): Boolean |
| canResolveTextAlignment | open fun canResolveTextAlignment(): Boolean |
| canResolveTextDirection | open fun canResolveTextDirection(): Boolean |
| canScrollHorizontally | open fun canScrollHorizontally(direction: Int): Boolean |
| canScrollVertically | open fun canScrollVertically(direction: Int): Boolean |
| checkInputConnectionProxy | open fun checkInputConnectionProxy(view: View?): Boolean |
| childDrawableStateChanged | open fun childDrawableStateChanged(child: View) |
| childHasTransientStateChanged | open fun childHasTransientStateChanged(child: View, childHasTransientState: Boolean) |
| clearAnimation | open fun clearAnimation() |
| clearChildFocus | open fun clearChildFocus(child: View?) |
| clearDisappearingChildren | open fun clearDisappearingChildren() |
| clearFocus | open fun clearFocus() |
| clearPendingCredentialRequest | open fun clearPendingCredentialRequest() |
| clearViewTranslationCallback | open fun clearViewTranslationCallback() |
| computeScroll | open fun computeScroll() |
| computeSystemWindowInsets | open fun computeSystemWindowInsets(in: WindowInsets?, outLocalInsets: Rect?): WindowInsets? |
| createAccessibilityNodeInfo | open fun createAccessibilityNodeInfo(): AccessibilityNodeInfo? |
| createContextMenu | open fun createContextMenu(menu: ContextMenu?) |
| destroyDrawingCache | open fun |
| dispatchApplyWindowInsets | open fun dispatchApplyWindowInsets(insets: WindowInsets?): WindowInsets? |
| dispatchCapturedPointerEvent | open fun dispatchCapturedPointerEvent(event: MotionEvent?): Boolean |
| dispatchConfigurationChanged | open fun dispatchConfigurationChanged(newConfig: Configuration?) |
| dispatchCreateViewTranslationRequest | open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId?, LongArray?>, supportedFormats: IntArray, capability: TranslationCapability?, requests: List<ViewTranslationRequest?>) |
| dispatchDisplayHint | open fun dispatchDisplayHint(hint: Int) |
| dispatchDragEvent | open fun dispatchDragEvent(event: DragEvent?): Boolean |
| dispatchDrawableHotspotChanged | open fun dispatchDrawableHotspotChanged(x: Float, y: Float) |
| dispatchFinishTemporaryDetach | open fun dispatchFinishTemporaryDetach() |
| dispatchGenericMotionEvent | open fun dispatchGenericMotionEvent(event: MotionEvent?): Boolean |
| dispatchKeyEvent | open fun dispatchKeyEvent(event: KeyEvent?): Boolean |
| dispatchKeyEventPreIme | open fun dispatchKeyEventPreIme(event: KeyEvent?): Boolean |
| dispatchKeyShortcutEvent | open fun dispatchKeyShortcutEvent(event: KeyEvent?): Boolean |
| dispatchNestedFling | open fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean |
| dispatchNestedPreFling | open fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean |
| dispatchNestedPrePerformAccessibilityAction | open fun dispatchNestedPrePerformAccessibilityAction(action: Int, arguments: Bundle?): Boolean |
| dispatchNestedPreScroll | open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean |
| dispatchNestedScroll | open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean |
| dispatchPointerCaptureChanged | open fun dispatchPointerCaptureChanged(hasCapture: Boolean) |
| dispatchPopulateAccessibilityEvent | open fun dispatchPopulateAccessibilityEvent(event: AccessibilityEvent?): Boolean |
| dispatchProvideAutofillStructure | open fun dispatchProvideAutofillStructure(structure: ViewStructure, flags: Int) |
| dispatchProvideStructure | open fun dispatchProvideStructure(structure: ViewStructure?) |
| dispatchScrollCaptureSearch | open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>) |
| dispatchSetActivated | open fun dispatchSetActivated(activated: Boolean) |
| dispatchSetSelected | open fun dispatchSetSelected(selected: Boolean) |
| dispatchStartTemporaryDetach | open fun dispatchStartTemporaryDetach() |
| dispatchSystemUiVisibilityChanged | open fun |
| dispatchTouchEvent | open fun dispatchTouchEvent(ev: MotionEvent?): Boolean |
| dispatchTrackballEvent | open fun dispatchTrackballEvent(event: MotionEvent?): Boolean |
| dispatchUnhandledMove | open fun dispatchUnhandledMove(focused: View?, direction: Int): Boolean |
| dispatchWindowFocusChanged | open fun dispatchWindowFocusChanged(hasFocus: Boolean) |
| dispatchWindowInsetsAnimationEnd | open fun dispatchWindowInsetsAnimationEnd(animation: WindowInsetsAnimation) |
| dispatchWindowInsetsAnimationPrepare | open fun dispatchWindowInsetsAnimationPrepare(animation: WindowInsetsAnimation) |
| dispatchWindowInsetsAnimationProgress | open fun dispatchWindowInsetsAnimationProgress(insets: WindowInsets, runningAnimations: List<WindowInsetsAnimation?>): WindowInsets |
| dispatchWindowInsetsAnimationStart | open fun dispatchWindowInsetsAnimationStart(animation: WindowInsetsAnimation, bounds: WindowInsetsAnimation.Bounds): WindowInsetsAnimation.Bounds |
| dispatchWindowSystemUiVisiblityChanged | open fun |
| dispatchWindowVisibilityChanged | open fun dispatchWindowVisibilityChanged(visibility: Int) |
| draw | open fun draw(canvas: Canvas) |
| drawableHotspotChanged | open fun drawableHotspotChanged(x: Float, y: Float) |
| endViewTransition | open fun endViewTransition(view: View?) |
| enterFullscreen | open override fun enterFullscreen() The player enters fullscreen mode. Has no effect if already in fullscreen. |
| enterPictureInPicture | open override fun enterPictureInPicture() The player enters Picture-In-Picture (PiP) mode. Has no effect if isPictureInPictureAvailable returns false or view is already in PiP mode. |
| exitFullscreen | open override fun exitFullscreen() The player exits fullscreen mode. Has no effect if not in fullscreen. |
| exitPictureInPicture | open override fun exitPictureInPicture() The player exits Picture-In-Picture (PiP) mode. Has no effect if .isPictureInPictureAvailable returns false or view is currently not in PiP mode. |
| findFocus | open fun findFocus(): View? |
| findOnBackInvokedDispatcher | fun findOnBackInvokedDispatcher(): OnBackInvokedDispatcher? |
| findOnBackInvokedDispatcherForChild | open fun findOnBackInvokedDispatcherForChild(child: View, requester: View): OnBackInvokedDispatcher? |
| findViewById | fun <T : View?> findViewById(id: Int): T? |
| findViewsWithText | open fun findViewsWithText(outViews: ArrayList<View?>?, text: CharSequence?, flags: Int) |
| findViewWithTag | fun <T : View?> findViewWithTag(tag: Any?): T? |
| focusableViewAvailable | open fun focusableViewAvailable(v: View?) |
| focusSearch | open fun focusSearch(direction: Int): View? open fun focusSearch(focused: View?, direction: Int): View? |
| forceHasOverlappingRendering | open fun forceHasOverlappingRendering(hasOverlappingRendering: Boolean) |
| forceLayout | open fun forceLayout() |
| gatherTransparentRegion | open fun gatherTransparentRegion(region: Region?): Boolean |
| generateDisplayHash | open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect?, executor: Executor, callback: DisplayHashResultCallback) |
| generateLayoutParams | open fun generateLayoutParams(attrs: AttributeSet?): FrameLayout.LayoutParams? |
| getAttributeResolutionStack | open fun getAttributeResolutionStack(attribute: Int): IntArray |
| getChildAt | open fun getChildAt(index: Int): View? |
| getChildDrawingOrder | fun getChildDrawingOrder(drawingPosition: Int): Int |
| getChildVisibleRect | open fun getChildVisibleRect(child: View?, r: Rect?, offset: Point?): Boolean |
| getDrawingRect | open fun getDrawingRect(outRect: Rect?) |
| getFocusables | open fun getFocusables(direction: Int): ArrayList<View?>? |
| getFocusedRect | open fun getFocusedRect(r: Rect?) |
| getGlobalVisibleRect | fun getGlobalVisibleRect(r: Rect?): Boolean open fun getGlobalVisibleRect(r: Rect?, globalOffset: Point?): Boolean |
| getHitRect | open fun getHitRect(outRect: Rect?) |
| getLayoutDirection | open fun getLayoutDirection(): Int |
| getLocalVisibleRect | fun getLocalVisibleRect(r: Rect?): Boolean |
| getLocationInSurface | open fun getLocationInSurface(location: IntArray) |
| getLocationInWindow | open fun getLocationInWindow(outLocation: IntArray?) |
| getLocationOnScreen | open fun getLocationOnScreen(outLocation: IntArray?) |
| getParent | fun getParent(): ViewParent? |
| getParentForAccessibility | open fun getParentForAccessibility(): ViewParent? |
| getPlayer | open override fun getPlayer(): Player? Returns the Player instance currently used by this view. |
| getScalingMode | open override fun getScalingMode(): ScalingMode Returns the current ScalingMode. |
| getTextAlignment | open fun getTextAlignment(): Int |
| getTextDirection | open fun getTextDirection(): Int |
| getWindowVisibleDisplayFrame | open fun getWindowVisibleDisplayFrame(outRect: Rect?) |
| hasExplicitFocusable | open fun hasExplicitFocusable(): Boolean |
| hasFocus | open fun hasFocus(): Boolean |
| hasFocusable | open fun hasFocusable(): Boolean |
| hasNestedScrollingParent | open fun hasNestedScrollingParent(): Boolean |
| hasOnClickListeners | open fun hasOnClickListeners(): Boolean |
| hasOnLongClickListeners | open fun hasOnLongClickListeners(): Boolean |
| hasOverlappingRendering | open fun hasOverlappingRendering(): Boolean |
| hasPointerCapture | open fun hasPointerCapture(): Boolean |
| hasTransientState | open fun hasTransientState(): Boolean |
| hasWindowFocus | open fun hasWindowFocus(): Boolean |
| indexOfChild | open fun indexOfChild(child: View?): Int |
| invalidate | open fun invalidate() open fun open fun |
| invalidateChild | fun |
| invalidateChildInParent | open fun |
| invalidateDrawable | open fun invalidateDrawable(drawable: Drawable) |
| invalidateOutline | open fun invalidateOutline() |
| isFullscreen | open override fun isFullscreen(): Boolean Returns true if the player is currently in fullscreen mode. |
| isFullscreenAvailable | open override fun isFullscreenAvailable(): Boolean Returns whether entering fullscreen mode is supported, independently of the current fullscreen state. |
| isLayoutDirectionResolved | open fun isLayoutDirectionResolved(): Boolean |
| isLayoutRequested | open fun isLayoutRequested(): Boolean |
| isPictureInPicture | open override fun isPictureInPicture(): Boolean Returns true if a PictureInPictureHandler is registered and PictureInPictureHandler.isPictureInPicture evaluates to true. |
| isPictureInPictureAvailable | open override fun isPictureInPictureAvailable(): Boolean Returns true if a PictureInPictureHandler is registered and PictureInPictureHandler.isPictureInPictureAvailable evaluates to true. |
| isTextAlignmentResolved | open fun isTextAlignmentResolved(): Boolean |
| isTextDirectionResolved | open fun isTextDirectionResolved(): Boolean |
| isUiVisible | open override fun isUiVisible(): Boolean Returns if the UI is currently visible. |
| isVisibleToUserForAutofill | open fun isVisibleToUserForAutofill(virtualId: Int): Boolean |
| jumpDrawablesToCurrentState | open fun jumpDrawablesToCurrentState() |
| keyboardNavigationClusterSearch | open fun keyboardNavigationClusterSearch(currentCluster: View?, direction: Int): View? |
| layout | fun layout(l: Int, t: Int, r: Int, b: Int) |
| measure | fun measure(widthMeasureSpec: Int, heightMeasureSpec: Int) |
| next | open override fun <E : Event> next(eventClass: KClass<E>, action: (E) -> Unit) open override fun <E : Event> next(eventClass: Class<E>, eventListener: EventListener<in E>) |
| notifySubtreeAccessibilityStateChanged | open fun notifySubtreeAccessibilityStateChanged(child: View, source: View, changeType: Int) |
| off | open override fun <E : Event> off(action: (E) -> Unit) open override fun <E : Event> off(eventClass: KClass<E>, action: (E) -> Unit) open override fun <E : Event> off(eventListener: EventListener<in E>) open override fun <E : Event> off(eventClass: Class<E>, eventListener: EventListener<in E>) |
| offsetDescendantRectToMyCoords | fun offsetDescendantRectToMyCoords(descendant: View?, rect: Rect?) |
| offsetLeftAndRight | open fun offsetLeftAndRight(offset: Int) |
| offsetRectIntoDescendantCoords | fun offsetRectIntoDescendantCoords(descendant: View?, rect: Rect?) |
| offsetTopAndBottom | open fun offsetTopAndBottom(offset: Int) |
| on | open override fun <E : Event> on(eventClass: KClass<E>, action: (E) -> Unit) open override fun <E : Event> on(eventClass: Class<E>, eventListener: EventListener<in E>) |
| onApplyWindowInsets | open fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets? |
| onCancelPendingInputEvents | open fun onCancelPendingInputEvents() |
| onCapturedPointerEvent | open fun onCapturedPointerEvent(event: MotionEvent?): Boolean |
| onCheckIsTextEditor | open fun onCheckIsTextEditor(): Boolean |
| onCreateInputConnection | open fun onCreateInputConnection(outAttrs: EditorInfo?): InputConnection? |
| onCreateViewTranslationRequest | open fun onCreateViewTranslationRequest(supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>) |
| onCreateVirtualViewTranslationRequests | open fun onCreateVirtualViewTranslationRequests(virtualIds: LongArray, supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>) |
| onDescendantInvalidated | open fun onDescendantInvalidated(child: View, target: View) |
| onDestroy | fun onDestroy() Must be called when Activity.onDestroy is called in the Activity using this view. |
| onDragEvent | open fun onDragEvent(event: DragEvent?): Boolean |
| onDrawForeground | open fun onDrawForeground(canvas: Canvas) |
| onFilterTouchEventForSecurity | open fun onFilterTouchEventForSecurity(event: MotionEvent?): Boolean |
| onFinishTemporaryDetach | open fun onFinishTemporaryDetach() |
| onGenericMotionEvent | open fun onGenericMotionEvent(event: MotionEvent?): Boolean |
| onHoverChanged | open fun onHoverChanged(hovered: Boolean) |
| onHoverEvent | open fun onHoverEvent(event: MotionEvent?): Boolean |
| onInitializeAccessibilityEvent | open fun onInitializeAccessibilityEvent(event: AccessibilityEvent?) |
| onInitializeAccessibilityNodeInfo | open fun onInitializeAccessibilityNodeInfo(info: AccessibilityNodeInfo?) |
| onInterceptHoverEvent | open fun onInterceptHoverEvent(event: MotionEvent?): Boolean |
| onInterceptTouchEvent | open override fun onInterceptTouchEvent(ev: MotionEvent): Boolean |
| onKeyDown | open fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean |
| onKeyLongPress | open fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean |
| onKeyMultiple | open fun onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent?): Boolean |
| onKeyPreIme | open fun onKeyPreIme(keyCode: Int, event: KeyEvent?): Boolean |
| onKeyShortcut | open fun onKeyShortcut(keyCode: Int, event: KeyEvent?): Boolean |
| onKeyUp | open fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean |
| onLayout | @VisibleForTesting(otherwise = 4) open override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) |
| onNestedFling | open fun onNestedFling(target: View, velocityX: Float, velocityY: Float, consumed: Boolean): Boolean |
| onNestedPreFling | open fun onNestedPreFling(target: View, velocityX: Float, velocityY: Float): Boolean |
| onNestedPrePerformAccessibilityAction | open fun onNestedPrePerformAccessibilityAction(target: View, action: Int, args: Bundle?): Boolean |
| onNestedPreScroll | open fun onNestedPreScroll(target: View, dx: Int, dy: Int, consumed: IntArray) |
| onNestedScroll | open fun onNestedScroll(target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int) |
| onNestedScrollAccepted | open fun onNestedScrollAccepted(child: View, target: View, axes: Int) |
| onPause | fun onPause() Must be called when Activity.onPause is called in the Activity using this view. |
| onPictureInPictureModeChanged | fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean, newConfig: Configuration?) When using Picture-in-Picture feature, this method has to be called from Activity.onPictureInPictureModeChanged method. |
| onPointerCaptureChange | open fun onPointerCaptureChange(hasCapture: Boolean) |
| onPopulateAccessibilityEvent | open fun onPopulateAccessibilityEvent(event: AccessibilityEvent?) |
| onProvideAutofillStructure | open fun onProvideAutofillStructure(structure: ViewStructure?, flags: Int) |
| onProvideAutofillVirtualStructure | open fun onProvideAutofillVirtualStructure(structure: ViewStructure?, flags: Int) |
| onProvideContentCaptureStructure | open fun onProvideContentCaptureStructure(structure: ViewStructure, flags: Int) |
| onProvideStructure | open fun onProvideStructure(structure: ViewStructure?) |
| onProvideVirtualStructure | open fun onProvideVirtualStructure(structure: ViewStructure?) |
| onReceiveContent | open fun onReceiveContent(payload: ContentInfo): ContentInfo? |
| onRequestSendAccessibilityEvent | open fun onRequestSendAccessibilityEvent(child: View?, event: AccessibilityEvent?): Boolean |
| onResolvePointerIcon | open fun onResolvePointerIcon(event: MotionEvent?, pointerIndex: Int): PointerIcon? |
| onResume | fun onResume() Must be called when Activity.onResume is called in the Activity using this view. |
| onRtlPropertiesChanged | open fun onRtlPropertiesChanged(layoutDirection: Int) |
| onScreenStateChanged | open fun onScreenStateChanged(screenState: Int) |
| onScrollCaptureSearch | open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>) |
| onStart | fun onStart() Must be called when Activity.onStart is called in the Activity using this view. |
| onStartNestedScroll | open fun onStartNestedScroll(child: View, target: View, nestedScrollAxes: Int): Boolean |
| onStartTemporaryDetach | open fun onStartTemporaryDetach() |
| onStop | fun onStop() Must be called when Activity.onStop is called in the Activity using this view. |
| onStopNestedScroll | open fun onStopNestedScroll(child: View) |
| onTouchEvent | open override fun onTouchEvent(event: MotionEvent): Boolean |
| onTrackballEvent | open fun onTrackballEvent(event: MotionEvent?): Boolean |
| onViewAdded | open fun onViewAdded(child: View?) |
| onViewRemoved | open fun onViewRemoved(child: View?) |
| onViewTranslationResponse | open fun onViewTranslationResponse(response: ViewTranslationResponse) |
| onVirtualViewTranslationResponses | open fun onVirtualViewTranslationResponses(response: LongSparseArray<ViewTranslationResponse?>) |
| onVisibilityAggregated | open fun onVisibilityAggregated(isVisible: Boolean) |
| onWindowFocusChanged | open fun onWindowFocusChanged(hasWindowFocus: Boolean) |
| onWindowSystemUiVisibilityChanged | open fun |
| performAccessibilityAction | open fun performAccessibilityAction(action: Int, arguments: Bundle?): Boolean |
| performClick | open fun performClick(): Boolean |
| performContextClick | open fun performContextClick(): Boolean open fun performContextClick(x: Float, y: Float): Boolean |
| performHapticFeedback | open fun performHapticFeedback(request: HapticFeedbackRequest): Boolean open fun performHapticFeedback(feedbackConstant: Int): Boolean open fun performHapticFeedback(feedbackConstant: Int, flags: Int): Boolean |
| performLongClick | open fun performLongClick(): Boolean open fun performLongClick(x: Float, y: Float): Boolean |
| performReceiveContent | open fun performReceiveContent(payload: ContentInfo): ContentInfo? |
| playSoundEffect | open fun playSoundEffect(soundConstant: Int) |
| post | open fun post(action: Runnable?): Boolean |
| postDelayed | open fun postDelayed(action: Runnable?, delayMillis: Long): Boolean |
| postInvalidate | open fun postInvalidate() open fun postInvalidate(left: Int, top: Int, right: Int, bottom: Int) |
| postInvalidateDelayed | open fun postInvalidateDelayed(delayMilliseconds: Long) open fun postInvalidateDelayed(delayMilliseconds: Long, left: Int, top: Int, right: Int, bottom: Int) |
| postInvalidateOnAnimation | open fun postInvalidateOnAnimation() open fun postInvalidateOnAnimation(left: Int, top: Int, right: Int, bottom: Int) |
| postOnAnimation | open fun postOnAnimation(action: Runnable?) |
| postOnAnimationDelayed | open fun postOnAnimationDelayed(action: Runnable?, delayMillis: Long) |
| propagateRequestedFrameRate | open fun propagateRequestedFrameRate(frameRate: Float, forceOverride: Boolean) |
| recomputeViewAttributes | open fun recomputeViewAttributes(child: View?) |
| refreshDrawableState | open fun refreshDrawableState() |
| releasePointerCapture | open fun releasePointerCapture() |
| removeAllViews | open fun removeAllViews() |
| removeAllViewsInLayout | open fun removeAllViewsInLayout() |
| removeCallbacks | open fun removeCallbacks(action: Runnable?): Boolean |
| removeOnAttachStateChangeListener | open fun removeOnAttachStateChangeListener(listener: View.OnAttachStateChangeListener?) |
| removeOnLayoutChangeListener | open fun removeOnLayoutChangeListener(listener: View.OnLayoutChangeListener?) |
| removeOnUnhandledKeyEventListener | open fun removeOnUnhandledKeyEventListener(listener: View.OnUnhandledKeyEventListener?) |
| removeView | open fun removeView(view: View?) |
| removeViewAt | open fun removeViewAt(index: Int) |
| removeViewInLayout | open fun removeViewInLayout(view: View?) |
| removeViews | open fun removeViews(start: Int, count: Int) |
| removeViewsInLayout | open fun removeViewsInLayout(start: Int, count: Int) |
| reportAppJankStats | open fun reportAppJankStats(appJankStats: AppJankStats) |
| requestApplyInsets | open fun requestApplyInsets() |
| requestChildFocus | open fun requestChildFocus(child: View?, focused: View?) |
| requestChildRectangleOnScreen | open fun requestChildRectangleOnScreen(child: View, rectangle: Rect?, immediate: Boolean): Boolean open fun requestChildRectangleOnScreen(child: View, rectangle: Rect, immediate: Boolean, source: Int): Boolean |
| requestDisallowInterceptTouchEvent | open fun requestDisallowInterceptTouchEvent(disallowIntercept: Boolean) |
| requestFitSystemWindows | open fun |
| requestFocus | fun requestFocus(): Boolean fun requestFocus(direction: Int): Boolean open fun requestFocus(direction: Int, previouslyFocusedRect: Rect?): Boolean |
| requestFocusFromTouch | fun requestFocusFromTouch(): Boolean |
| requestLayout | open fun requestLayout() |
| requestPointerCapture | open fun requestPointerCapture() open fun requestPointerCapture(mode: Int) |
| requestRectangleOnScreen | open fun requestRectangleOnScreen(rectangle: Rect?): Boolean open fun requestRectangleOnScreen(rectangle: Rect?, immediate: Boolean): Boolean open fun requestRectangleOnScreen(rectangle: Rect, immediate: Boolean, source: Int): Boolean |
| requestSendAccessibilityEvent | open fun requestSendAccessibilityEvent(child: View, event: AccessibilityEvent?): Boolean |
| requestTransparentRegion | open fun requestTransparentRegion(child: View?) |
| requestUnbufferedDispatch | fun requestUnbufferedDispatch(event: MotionEvent?) fun requestUnbufferedDispatch(source: Int) |
| requireViewById | fun <T : View?> requireViewById(id: Int): T & Any |
| resetPivot | open fun resetPivot() |
| restoreDefaultFocus | open fun restoreDefaultFocus(): Boolean |
| restoreHierarchyState | open fun restoreHierarchyState(container: SparseArray<Parcelable?>?) |
| saveAttributeDataForStyleable | fun saveAttributeDataForStyleable(context: Context, styleable: IntArray, attrs: AttributeSet?, t: TypedArray, defStyleAttr: Int, defStyleRes: Int) |
| saveHierarchyState | open fun saveHierarchyState(container: SparseArray<Parcelable?>?) |
| scheduleDrawable | open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long) |
| scheduleLayoutAnimation | open fun scheduleLayoutAnimation() |
| scrollBy | open fun scrollBy(x: Int, y: Int) |
| scrollTo | open fun scrollTo(x: Int, y: Int) |
| sendAccessibilityEvent | open fun sendAccessibilityEvent(eventType: Int) |
| sendAccessibilityEventUnchecked | open fun sendAccessibilityEventUnchecked(event: AccessibilityEvent?) |
| setAccessibilityDataSensitive | open fun setAccessibilityDataSensitive(accessibilityDataSensitive: Int) |
| setAddStatesFromChildren | open fun setAddStatesFromChildren(addsStates: Boolean) |
| setAllowClickWhenDisabled | open fun setAllowClickWhenDisabled(clickableWhenDisabled: Boolean) |
| setAllowedHandwritingDelegatePackage | open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String?) |
| setAllowedHandwritingDelegatorPackage | open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String?) |
| setAutofillHints | open fun setAutofillHints(vararg autofillHints: String?) |
| setBackgroundColor | open fun setBackgroundColor(color: Int) |
| setBackgroundDrawable | open fun |
| setBackgroundResource | open fun setBackgroundResource(resid: Int) |
| setCustomMessageHandler | open override fun setCustomMessageHandler(customMessageHandler: CustomMessageHandler?) Set a CustomMessageHandler which handles the communication with the Bitmovin Web UI in both directions |
| setFadingEdgeLength | open fun setFadingEdgeLength(length: Int) |
| setFullscreenHandler | fun setFullscreenHandler(fullscreenHandler: FullscreenHandler?) |
| setHandwritingBoundsOffsets | open fun setHandwritingBoundsOffsets(offsetLeft: Float, offsetTop: Float, offsetRight: Float, offsetBottom: Float) |
| setHasTransientState | open fun setHasTransientState(hasTransientState: Boolean) |
| setIsCredential | open fun |
| setIsHandwritingDelegate | open fun setIsHandwritingDelegate(isHandwritingDelegate: Boolean) |
| setLayerPaint | open fun setLayerPaint(paint: Paint?) |
| setLayerType | open fun setLayerType(layerType: Int, paint: Paint?) |
| setLeftTopRightBottom | fun setLeftTopRightBottom(left: Int, top: Int, right: Int, bottom: Int) |
| setOnApplyWindowInsetsListener | open fun setOnApplyWindowInsetsListener(listener: View.OnApplyWindowInsetsListener?) |
| setOnCapturedPointerListener | open fun setOnCapturedPointerListener(l: View.OnCapturedPointerListener?) |
| setOnClickListener | open fun setOnClickListener(l: View.OnClickListener?) |
| setOnContextClickListener | open fun setOnContextClickListener(l: View.OnContextClickListener?) |
| setOnCreateContextMenuListener | open fun setOnCreateContextMenuListener(l: View.OnCreateContextMenuListener?) |
| setOnDragListener | open fun setOnDragListener(l: View.OnDragListener?) |
| setOnGenericMotionListener | open fun setOnGenericMotionListener(l: View.OnGenericMotionListener?) |
| setOnHierarchyChangeListener | open fun setOnHierarchyChangeListener(listener: ViewGroup.OnHierarchyChangeListener?) |
| setOnHoverListener | open fun setOnHoverListener(l: View.OnHoverListener?) |
| setOnKeyListener | open fun setOnKeyListener(l: View.OnKeyListener?) |
| setOnLongClickListener | open fun setOnLongClickListener(l: View.OnLongClickListener?) |
| setOnReceiveContentListener | open fun setOnReceiveContentListener(mimeTypes: Array<out String?>??, listener: OnReceiveContentListener?) |
| setOnScrollChangeListener | open fun setOnScrollChangeListener(l: View.OnScrollChangeListener?) |
| setOnSystemUiVisibilityChangeListener | open fun |
| setOnTouchListener | open fun setOnTouchListener(l: View.OnTouchListener?) |
| setPadding | open fun setPadding(left: Int, top: Int, right: Int, bottom: Int) |
| setPaddingRelative | open fun setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int) |
| setPendingCredentialRequest | open fun setPendingCredentialRequest(request: GetCredentialRequest, callback: OutcomeReceiver<GetCredentialResponse?, GetCredentialException?>) |
| setPictureInPictureHandler | fun setPictureInPictureHandler(pipHandler: PictureInPictureHandler?) Set a PictureInPictureHandler to handle Picture-In-Picture (PiP) mode. Can be set to null to remove the picture in picture handler. Initially, no PictureInPictureHandler is set. |
| setPlayer | open override fun setPlayer(player: Player?) Sets the Player instance, for which the UI acts. If a Player is already set, it will be detached before the new one is attached. Also, if null is provided, the currently attached Player will be detached. |
| setPosterImage | open override fun setPosterImage(url: String?, keepPersistent: Boolean) Sets a poster image which will be displayed before playback starts. |
| setRenderEffect | open fun setRenderEffect(renderEffect: RenderEffect?) |
| setScalingMode | open override fun setScalingMode(scalingMode: ScalingMode) Sets a new ScalingMode. |
| setScrollCaptureCallback | fun setScrollCaptureCallback(callback: ScrollCaptureCallback?) |
| setTransitionVisibility | open fun setTransitionVisibility(visibility: Int) |
| setUiVisible | open override fun setUiVisible(visible: Boolean) Sets if the UI should be visible or not. Default value is true. |
| setViewTranslationCallback | open fun setViewTranslationCallback(callback: ViewTranslationCallback) |
| setWillNotCacheDrawing | open fun |
| setWillNotDraw | open fun setWillNotDraw(willNotDraw: Boolean) |
| setWindowInsetsAnimationCallback | open fun setWindowInsetsAnimationCallback(callback: WindowInsetsAnimation.Callback?) |
| shouldDelayChildPressedState | open fun shouldDelayChildPressedState(): Boolean |
| showContextMenu | open fun showContextMenu(): Boolean open fun showContextMenu(x: Float, y: Float): Boolean |
| showContextMenuForChild | open fun showContextMenuForChild(originalView: View?): Boolean open fun showContextMenuForChild(originalView: View?, x: Float, y: Float): Boolean |
| startActionMode | open fun startActionMode(callback: ActionMode.Callback?): ActionMode? open fun startActionMode(callback: ActionMode.Callback?, type: Int): ActionMode? |
| startActionModeForChild | open fun startActionModeForChild(originalView: View?, callback: ActionMode.Callback?): ActionMode? open fun startActionModeForChild(originalView: View?, callback: ActionMode.Callback?, type: Int): ActionMode? |
| startAnimation | open fun startAnimation(animation: Animation?) |
| startDrag | fun |
| startDragAndDrop | fun startDragAndDrop(data: ClipData?, shadowBuilder: View.DragShadowBuilder?, myLocalState: Any?, flags: Int): Boolean |
| startLayoutAnimation | open fun startLayoutAnimation() |
| startNestedScroll | open fun startNestedScroll(axes: Int): Boolean |
| startViewTransition | open fun startViewTransition(view: View?) |
| stopNestedScroll | open fun stopNestedScroll() |
| suppressLayout | open fun suppressLayout(suppress: Boolean) |
| transformMatrixToGlobal | open fun transformMatrixToGlobal(matrix: Matrix) |
| transformMatrixToLocal | open fun transformMatrixToLocal(matrix: Matrix) |
| unscheduleDrawable | open fun unscheduleDrawable(who: Drawable, what: Runnable) open fun unscheduleDrawable(who: Drawable?) |
| updateDragShadow | fun updateDragShadow(shadowBuilder: View.DragShadowBuilder?) |
| updateViewLayout | open fun updateViewLayout(view: View?, params: ViewGroup.LayoutParams?) |
| willNotCacheDrawing | open fun |
| willNotDraw | open fun willNotDraw(): Boolean |