# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# VoiceInteractionSession.VisibleActivityCallback

`public static interface VoiceInteractionSession.VisibleActivityCallback`
``

android.service.voice.VoiceInteractionSession.VisibleActivityCallback

Callback interface for receiving visible activity changes used for assistant usage.

## Summary

### Public methods
`default void` | `onInvisible(VoiceInteractionSession.ActivityId activityId)` Callback to inform that a visible activity has gone.
`default void` | `onVisible(VisibleActivityInfo activityInfo)` Callback to inform that an activity has become visible.

## Public methods

### onInvisible

    public void onInvisible (VoiceInteractionSession.ActivityId activityId)

Callback to inform that a visible activity has gone.

Parameters
`activityId` | `VoiceInteractionSession.ActivityId`: This value cannot be `null`.

### onVisible

    public void onVisible (VisibleActivityInfo activityInfo)

Callback to inform that an activity has become visible.

Parameters
`activityInfo` | `VisibleActivityInfo`: This value cannot be `null`.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*