public static class

Profile.TriggerState

extends Object
java.lang.Object
   ↳ lineageos.app.Profile.TriggerState

Class Overview

Various trigger states associated with a Profile.TriggerType

Summary

Constants
int DISABLED A {@link TriggerState) for when the {@link TriggerType} is disabled
int ON_A2DP_CONNECT A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} connects for A2DP session
int ON_A2DP_DISCONNECT A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} disconnects from A2DP session
int ON_CONNECT A {@link TriggerState) for when the {@link TriggerType} connects
int ON_DISCONNECT A {@link TriggerState) for when the {@link TriggerType} disconnects
Public Constructors
Profile.TriggerState()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DISABLED

added in API level 2

A {@link TriggerState) for when the {@link TriggerType} is disabled

Constant Value: 2 (0x00000002)

public static final int ON_A2DP_CONNECT

added in API level 2

A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} connects for A2DP session

Constant Value: 3 (0x00000003)

public static final int ON_A2DP_DISCONNECT

added in API level 2

A {@link TriggerState) for when the {@link TriggerType#BLUETOOTH} disconnects from A2DP session

Constant Value: 4 (0x00000004)

public static final int ON_CONNECT

added in API level 2

A {@link TriggerState) for when the {@link TriggerType} connects

Constant Value: 0 (0x00000000)

public static final int ON_DISCONNECT

added in API level 2

A {@link TriggerState) for when the {@link TriggerType} disconnects

Constant Value: 1 (0x00000001)

Public Constructors

public Profile.TriggerState ()

added in API level 2