isInputActive

inline fun <T : Input> Call.isInputActive(): Flow<Boolean>

Utility function to detect whenever an input is active

Receiver

Flow the call flow

Return

Flow flow emitting true whenever a phone call input is active