Interface Info
public interface AudioFocusType
Type of the network allowed for automatic video playback.
Qualifier and Type
Field and Description
Value
int
WIFI_ONLY
Allowed only on Wi-Fi.
0
BOTH_WIFI_AND_DATA
Allowed both on Wi-Fi and mobile data.
1
FORBID_AUTO_PLAY
Forbidden regardless of the network type.
2