Lines Matching refs:Intent
39 const char* State::GetIntentName(Intent intent)
41 static const std::map<Intent, const char*> intentDesc = {
42 {Intent::SET_SOURCE, "SET_SOURCE"},
43 {Intent::PREPARE, "PREPARE"},
44 {Intent::SEEK, "SEEK"},
45 {Intent::PLAY, "PLAY"},
46 {Intent::PAUSE, "PAUSE"},
47 {Intent::RESUME, "RESUME"},
48 {Intent::STOP, "STOP"},
49 {Intent::RESET, "RESET"},
50 {Intent::SET_ATTRIBUTE, "SET_ATTRIBUTE"},
51 {Intent::NOTIFY_READY, "NOTIFY_READY"},
52 {Intent::NOTIFY_COMPLETE, "NOTIFY_COMPLETE"},
53 {Intent::NOTIFY_ERROR, "NOTIFY_ERROR"},
54 {Intent::INTENT_BUTT, "INTENT_BUTT"}
79 std::tuple<ErrorCode, Action> State::Enter(Intent intent)
89 std::tuple<ErrorCode, Action> State::Execute(Intent intent, const Plugin::Any& param)
158 std::tuple<ErrorCode, Action> State::DispatchIntent(Intent intent, const Plugin::Any& param)
163 case Intent::SET_SOURCE:
166 case Intent::PREPARE:
169 case Intent::SEEK:
172 case Intent::PLAY:
175 case Intent::PAUSE:
178 case Intent::RESUME:
181 case Intent::STOP:
184 case Intent::RESET:
187 case Intent::SET_ATTRIBUTE:
190 case Intent::NOTIFY_READY:
193 case Intent::NOTIFY_COMPLETE:
196 case Intent::NOTIFY_ERROR: