Lines Matching refs:AVControlCommand
159 void ExecuteControllerCommand(const AVControlCommand& cmd);
270 void HandleOnAVCallAnswer(const AVControlCommand& cmd);
271 void HandleOnAVCallHangUp(const AVControlCommand& cmd);
272 void HandleOnAVCallToggleCallMute(const AVControlCommand& cmd);
273 void HandleOnPlay(const AVControlCommand& cmd);
274 void HandleOnPause(const AVControlCommand& cmd);
275 void HandleOnPlayOrPause(const AVControlCommand& cmd);
276 void HandleOnStop(const AVControlCommand& cmd);
277 void HandleOnPlayNext(const AVControlCommand& cmd);
278 void HandleOnPlayPrevious(const AVControlCommand& cmd);
279 void HandleOnFastForward(const AVControlCommand& cmd);
280 void HandleOnRewind(const AVControlCommand& cmd);
281 void HandleOnSeek(const AVControlCommand& cmd);
282 void HandleOnSetSpeed(const AVControlCommand& cmd);
283 void HandleOnSetLoopMode(const AVControlCommand& cmd);
284 void HandleOnToggleFavorite(const AVControlCommand& cmd);
285 void HandleOnPlayFromAssetId(const AVControlCommand& cmd);
300 using HandlerFuncType = std::function<void(const AVControlCommand&)>;
302 {AVControlCommand::SESSION_CMD_PLAY,
303 [this](const AVControlCommand& cmd) { HandleOnPlay(cmd); }},
304 {AVControlCommand::SESSION_CMD_PAUSE,
305 [this](const AVControlCommand& cmd) { HandleOnPause(cmd); }},
306 {AVControlCommand::SESSION_CMD_STOP,
307 [this](const AVControlCommand& cmd) { HandleOnStop(cmd); }},
308 {AVControlCommand::SESSION_CMD_PLAY_NEXT,
309 [this](const AVControlCommand& cmd) { HandleOnPlayNext(cmd); }},
310 {AVControlCommand::SESSION_CMD_PLAY_PREVIOUS,
311 [this](const AVControlCommand& cmd) { HandleOnPlayPrevious(cmd); }},
312 {AVControlCommand::SESSION_CMD_FAST_FORWARD,
313 [this](const AVControlCommand& cmd) { HandleOnFastForward(cmd); }},
314 {AVControlCommand::SESSION_CMD_REWIND,
315 [this](const AVControlCommand& cmd) { HandleOnRewind(cmd); }},
316 {AVControlCommand::SESSION_CMD_SEEK,
317 [this](const AVControlCommand& cmd) { HandleOnSeek(cmd); }},
318 {AVControlCommand::SESSION_CMD_SET_SPEED,
319 [this](const AVControlCommand& cmd) { HandleOnSetSpeed(cmd); }},
320 {AVControlCommand::SESSION_CMD_SET_LOOP_MODE,
321 [this](const AVControlCommand& cmd) { HandleOnSetLoopMode(cmd); }},
322 {AVControlCommand::SESSION_CMD_TOGGLE_FAVORITE,
323 [this](const AVControlCommand& cmd) { HandleOnToggleFavorite(cmd); }},
324 {AVControlCommand::SESSION_CMD_PLAY_FROM_ASSETID,
325 [this](const AVControlCommand& cmd) { HandleOnPlayFromAssetId(cmd); }},
326 {AVControlCommand::SESSION_CMD_AVCALL_ANSWER,
327 [this](const AVControlCommand& cmd) { HandleOnAVCallAnswer(cmd); }},
328 {AVControlCommand::SESSION_CMD_AVCALL_HANG_UP,
329 [this](const AVControlCommand& cmd) { HandleOnAVCallHangUp(cmd); }},
330 {AVControlCommand::SESSION_CMD_AVCALL_TOGGLE_CALL_MUTE,
331 [this](const AVControlCommand& cmd) { HandleOnAVCallToggleCallMute(cmd); }}
335 {MMI::KeyEvent::KEYCODE_MEDIA_PLAY, [this](const AVControlCommand& cmd) { HandleOnPlay(cmd); }},
336 {MMI::KeyEvent::KEYCODE_MEDIA_PAUSE, [this](const AVControlCommand& cmd) { HandleOnPause(cmd); }},
337 {MMI::KeyEvent::KEYCODE_MEDIA_PLAY_PAUSE, [this](const AVControlCommand& cmd) { HandleOnPlayOrPause(cmd); }},
338 {MMI::KeyEvent::KEYCODE_MEDIA_STOP, [this](const AVControlCommand& cmd) { HandleOnPause(cmd); }},
339 {MMI::KeyEvent::KEYCODE_MEDIA_NEXT, [this](const AVControlCommand& cmd) { HandleOnPlayNext(cmd); }},
340 {MMI::KeyEvent::KEYCODE_MEDIA_PREVIOUS, [this](const AVControlCommand& cmd) { HandleOnPlayPrevious(cmd); }},
341 {MMI::KeyEvent::KEYCODE_MEDIA_REWIND, [this](const AVControlCommand& cmd) { HandleOnRewind(cmd); }},
342 {MMI::KeyEvent::KEYCODE_MEDIA_FAST_FORWARD, [this](const AVControlCommand& cmd) { HandleOnFastForward(cmd); }}