ContentViewCallback


Kotlin |Java

public interface ContentViewCallback 


Interface that defines the behavior of the main content of a transient bottom bar.

Summary

Public methods

abstract void
animateContentIn(int delay, int duration)

Animates the content of the transient bottom bar in.

abstract void
animateContentOut(int delay, int duration)

Animates the content of the transient bottom bar out.

Public methods

animateContentIn

abstract void animateContentIn(int delay, int duration)

Animates the content of the transient bottom bar in.

Parameters
int delay

Animation delay.

int duration

Animation duration.

animateContentOut

abstract void animateContentOut(int delay, int duration)

Animates the content of the transient bottom bar out.

Parameters
int delay

Animation delay.

int duration

Animation duration.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月14日 UTC.