• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2024 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 #ifndef IVISION_SERVICE_CV
17 #define IVISION_SERVICE_CV
18 
19 #include "iremote_broker.h"
20 
21 namespace OHOS {
22 namespace Media {
23 class IMediaAnalysisService : public IRemoteBroker {
24 public:
25     enum ActivateServiceType {
26         START_SERVICE_OCR = 1,
27         START_DELETE_INDEX = 31,
28         START_UPDATE_INDEX = 32,
29         START_BACKGROUND_TASK = 33,
30         PORTRAIT_COVER_SELECTION = 34,
31         HIGHLIGHT_COVER_GENERATE = 35,
32         PARSE_GEO_INFO = 36,
33         PARSE_GEO_INFO_LIST = 37,
34         START_FOREGROUND_OCR = 38,
35         START_FOREGROUND_INDEX = 39,
36     };
37 public:
38     DECLARE_INTERFACE_DESCRIPTOR(u"Multimedia.MediaAnalyseService.API");
39 };
40 } //namespace MEDIA
41 }
42 #endif