ForegroundServiceType

enumeration

Description

Mirrors the ForegroundServiceType enum.

For more information about the attribute, see Android's documentation: ForegroundServiceType attribute

Properties

CameraMirrors android:foregroundServiceType="camera".
ConnectedDeviceMirrors android:foregroundServiceType="connectedDevice".
DataSyncMirrors android:foregroundServiceType="dataSync".
LocationMirrors android:foregroundServiceType="location".
MediaPlaybackMirrors android:foregroundServiceType="mediaPlayback".
MediaProjectionMirrors android:foregroundServiceType="mediaProjection".
MicrophoneMirrors android:foregroundServiceType="microphone".
PhoneCallMirrors android:foregroundServiceType="phoneCall".

Did you find this page useful? Please give it a rating: