Searched refs:AssociationState (Results 1 – 1 of 1) sorted by relevance
63 public enum AssociationState { NONE, PENDING, STARTING, STARTED, COMPLETED, ERROR } enum in AssociatedDeviceViewModel76 private final MutableLiveData<AssociationState> mAssociationState =77 new MutableLiveData<>(AssociationState.NONE);118 AssociationState state = mAssociationState.getValue(); in stopAssociation()119 if (state != AssociationState.STARTING && state != AssociationState.STARTED) { in stopAssociation()129 mAssociationState.postValue(AssociationState.NONE); in stopAssociation()192 mAssociationState.postValue(AssociationState.NONE); in resetAssociationState()216 public MutableLiveData<AssociationState> getAssociationState() { in getAssociationState()279 mAssociationState.postValue(AssociationState.PENDING); in startAssociation()288 mAssociationState.postValue(AssociationState.ERROR); in startAssociation()[all …]