ex
Fork of mbed-os-example-mbed5-blinky by
dcs-sdk-java-master/app/src/main/java/com/baidu/duer/dcs/devicemodule/audioplayer/ApiConstants.java@45:2aa9f933c8d2, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:34:48 2017 +0800
- Revision:
- 45:2aa9f933c8d2
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 45:2aa9f933c8d2 | 1 | /* |
| TMBOY | 45:2aa9f933c8d2 | 2 | * Copyright (c) 2017 Baidu, Inc. All Rights Reserved. |
| TMBOY | 45:2aa9f933c8d2 | 3 | * |
| TMBOY | 45:2aa9f933c8d2 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| TMBOY | 45:2aa9f933c8d2 | 5 | * you may not use this file except in compliance with the License. |
| TMBOY | 45:2aa9f933c8d2 | 6 | * You may obtain a copy of the License at |
| TMBOY | 45:2aa9f933c8d2 | 7 | * |
| TMBOY | 45:2aa9f933c8d2 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| TMBOY | 45:2aa9f933c8d2 | 9 | * |
| TMBOY | 45:2aa9f933c8d2 | 10 | * Unless required by applicable law or agreed to in writing, software |
| TMBOY | 45:2aa9f933c8d2 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| TMBOY | 45:2aa9f933c8d2 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| TMBOY | 45:2aa9f933c8d2 | 13 | * See the License for the specific language governing permissions and |
| TMBOY | 45:2aa9f933c8d2 | 14 | * limitations under the License. |
| TMBOY | 45:2aa9f933c8d2 | 15 | */ |
| TMBOY | 45:2aa9f933c8d2 | 16 | package com.baidu.duer.dcs.devicemodule.audioplayer; |
| TMBOY | 45:2aa9f933c8d2 | 17 | |
| TMBOY | 45:2aa9f933c8d2 | 18 | /** |
| TMBOY | 45:2aa9f933c8d2 | 19 | * 定义了表示Audio Player模块的namespace、name,以及其事件、指令的name |
| TMBOY | 45:2aa9f933c8d2 | 20 | * <p> |
| TMBOY | 45:2aa9f933c8d2 | 21 | * Created by guxiuzhong@baidu.com on 2017/6/1. |
| TMBOY | 45:2aa9f933c8d2 | 22 | */ |
| TMBOY | 45:2aa9f933c8d2 | 23 | public class ApiConstants { |
| TMBOY | 45:2aa9f933c8d2 | 24 | public static final String NAMESPACE = "ai.dueros.device_interface.audio_player"; |
| TMBOY | 45:2aa9f933c8d2 | 25 | public static final String NAME = "AudioPlayerInterface"; |
| TMBOY | 45:2aa9f933c8d2 | 26 | |
| TMBOY | 45:2aa9f933c8d2 | 27 | public static final class Events { |
| TMBOY | 45:2aa9f933c8d2 | 28 | public static final class PlaybackStarted { |
| TMBOY | 45:2aa9f933c8d2 | 29 | public static final String NAME = PlaybackStarted.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 30 | } |
| TMBOY | 45:2aa9f933c8d2 | 31 | |
| TMBOY | 45:2aa9f933c8d2 | 32 | public static final class PlaybackNearlyFinished { |
| TMBOY | 45:2aa9f933c8d2 | 33 | public static final String NAME = PlaybackNearlyFinished.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 34 | } |
| TMBOY | 45:2aa9f933c8d2 | 35 | |
| TMBOY | 45:2aa9f933c8d2 | 36 | public static final class PlaybackStutterStarted { |
| TMBOY | 45:2aa9f933c8d2 | 37 | public static final String NAME = PlaybackStutterStarted.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 38 | } |
| TMBOY | 45:2aa9f933c8d2 | 39 | |
| TMBOY | 45:2aa9f933c8d2 | 40 | public static final class PlaybackStutterFinished { |
| TMBOY | 45:2aa9f933c8d2 | 41 | public static final String NAME = PlaybackStutterFinished.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 42 | } |
| TMBOY | 45:2aa9f933c8d2 | 43 | |
| TMBOY | 45:2aa9f933c8d2 | 44 | public static final class PlaybackFinished { |
| TMBOY | 45:2aa9f933c8d2 | 45 | public static final String NAME = PlaybackFinished.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 46 | } |
| TMBOY | 45:2aa9f933c8d2 | 47 | |
| TMBOY | 45:2aa9f933c8d2 | 48 | public static final class PlaybackFailed { |
| TMBOY | 45:2aa9f933c8d2 | 49 | public static final String NAME = PlaybackFailed.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 50 | } |
| TMBOY | 45:2aa9f933c8d2 | 51 | |
| TMBOY | 45:2aa9f933c8d2 | 52 | public static final class PlaybackStopped { |
| TMBOY | 45:2aa9f933c8d2 | 53 | public static final String NAME = PlaybackStopped.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 54 | } |
| TMBOY | 45:2aa9f933c8d2 | 55 | |
| TMBOY | 45:2aa9f933c8d2 | 56 | public static final class PlaybackPaused { |
| TMBOY | 45:2aa9f933c8d2 | 57 | public static final String NAME = PlaybackPaused.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 58 | } |
| TMBOY | 45:2aa9f933c8d2 | 59 | |
| TMBOY | 45:2aa9f933c8d2 | 60 | public static final class PlaybackResumed { |
| TMBOY | 45:2aa9f933c8d2 | 61 | public static final String NAME = PlaybackResumed.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 62 | } |
| TMBOY | 45:2aa9f933c8d2 | 63 | |
| TMBOY | 45:2aa9f933c8d2 | 64 | public static final class PlaybackQueueCleared { |
| TMBOY | 45:2aa9f933c8d2 | 65 | public static final String NAME = PlaybackQueueCleared.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 66 | } |
| TMBOY | 45:2aa9f933c8d2 | 67 | |
| TMBOY | 45:2aa9f933c8d2 | 68 | public static final class ProgressReportDelayElapsed { |
| TMBOY | 45:2aa9f933c8d2 | 69 | public static final String NAME = ProgressReportDelayElapsed.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 70 | } |
| TMBOY | 45:2aa9f933c8d2 | 71 | |
| TMBOY | 45:2aa9f933c8d2 | 72 | public static final class ProgressReportIntervalElapsed { |
| TMBOY | 45:2aa9f933c8d2 | 73 | public static final String NAME = ProgressReportIntervalElapsed.class |
| TMBOY | 45:2aa9f933c8d2 | 74 | .getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 75 | } |
| TMBOY | 45:2aa9f933c8d2 | 76 | |
| TMBOY | 45:2aa9f933c8d2 | 77 | public static final class PlaybackState { |
| TMBOY | 45:2aa9f933c8d2 | 78 | public static final String NAME = PlaybackState.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 79 | } |
| TMBOY | 45:2aa9f933c8d2 | 80 | } |
| TMBOY | 45:2aa9f933c8d2 | 81 | |
| TMBOY | 45:2aa9f933c8d2 | 82 | public static final class Directives { |
| TMBOY | 45:2aa9f933c8d2 | 83 | public static final class Play { |
| TMBOY | 45:2aa9f933c8d2 | 84 | public static final String NAME = Play.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 85 | } |
| TMBOY | 45:2aa9f933c8d2 | 86 | |
| TMBOY | 45:2aa9f933c8d2 | 87 | public static final class Stop { |
| TMBOY | 45:2aa9f933c8d2 | 88 | public static final String NAME = Stop.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 89 | } |
| TMBOY | 45:2aa9f933c8d2 | 90 | |
| TMBOY | 45:2aa9f933c8d2 | 91 | public static final class ClearQueue { |
| TMBOY | 45:2aa9f933c8d2 | 92 | public static final String NAME = ClearQueue.class.getSimpleName(); |
| TMBOY | 45:2aa9f933c8d2 | 93 | } |
| TMBOY | 45:2aa9f933c8d2 | 94 | } |
| TMBOY | 45:2aa9f933c8d2 | 95 | } |
