SatelliteStateChangeListener


public interface SatelliteStateChangeListener

android.telephony.satellite.SatelliteStateChangeListener


A listener interface to monitor satellite state change events.

Call SatelliteManager.registerStateChangeListener(Executor, SatelliteStateChangeListener) to monitor. Call SatelliteManager.unregisterStateChangeListener(SatelliteStateChangeListener) to cancel.

Summary

Public methods

abstract void onEnabledStateChanged(boolean isEnabled)

Called when satellite modem enabled state may have changed.

Public methods

onEnabledStateChanged

public abstract void onEnabledStateChanged (boolean isEnabled)

Called when satellite modem enabled state may have changed.

Note:there is no guarantee that this callback will only be invoked upon a change of state. In other word, in some cases, the callback may report with the same enabled states. It is the caller's responsibility to filter uninterested states.

Note:satellite enabled state is a device state that is NOT associated with subscription or SIM slot.

Parameters
isEnabled boolean: true means satellite modem is enabled.