# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# TelephonyCallback.CarrierNetworkListener

`public static interface TelephonyCallback.CarrierNetworkListener`
``

android.telephony.TelephonyCallback.CarrierNetworkListener

Interface for carrier network listener.

## Summary

### Public methods
`abstract void` | `onCarrierNetworkChange(boolean active)` Callback invoked when telephony has received notice from a carrier app that a network action that could result in connectivity loss has been requested by an app using `CarrierService.notifyCarrierNetworkChange(boolean)` This is optional and is only used to allow the system to provide alternative UI while telephony is performing an action that may result in intentional, temporary network lack of connectivity.

## Public methods

### onCarrierNetworkChange

    public abstract void onCarrierNetworkChange (boolean active)

Callback invoked when telephony has received notice from a carrier app that a network action that could result in connectivity loss has been requested by an app using `CarrierService.notifyCarrierNetworkChange(boolean)`

This is optional and is only used to allow the system to provide alternative UI while telephony is performing an action that may result in intentional, temporary network lack of connectivity.

Note, this callback is pinned to the registered subscription and will be invoked when the notifying carrier app has carrier privilege rule on the registered subscription. `TelephonyManager.hasCarrierPrivileges()`

Parameters
`active` | `boolean`: If the carrier network change is or shortly will be active, `true` indicate that showing alternative UI, `false` otherwise.

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