1 /* 2 * Copyright (C) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /* SAID: 3706*/ 17 /// Function code of RequestInterfaceCode 18 pub enum RequestInterfaceCode { 19 /// request construct & api10 create task 20 Construct = 0, 21 /// pause task 22 Pause, 23 /// query task || system api Queries specified task details 24 Query, 25 /// query mime type 26 QueryMimeType, 27 /// remove task || removes specifed task belongs to the caller 28 Remove, 29 /// resume task 30 Resume, 31 /// on task 32 On, 33 /// off task 34 Off, 35 /// ap10 start task 36 Start, 37 /// stop task 38 Stop, 39 /// Shows specified task details belongs to the caller 40 Show, 41 /// Touches specified task with token 42 Touch, 43 /// Searches tasks, for system 44 Search, 45 /// system api deletes specifed tasks 46 Clear, 47 } 48 49 /// Function code of RequestNotifyInterfaceCode 50 pub enum RequestNotifyInterfaceCode { 51 /// callback notification 52 Notify = 0, 53 /// Cache callback notification 54 DoneNotify, 55 }