1 /*
2  * Copyright (C) 2024-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 FRAMEWORKS_NATIVE_INCLUDE_MEDIA_ASSET_TYPES_H
17 #define FRAMEWORKS_NATIVE_INCLUDE_MEDIA_ASSET_TYPES_H
18 
19 namespace OHOS {
20 namespace Media {
21 
22 enum class AssetChangeOperation {
23     CREATE_FROM_SCRATCH,
24     CREATE_FROM_URI,
25     GET_WRITE_CACHE_HANDLER,
26     ADD_RESOURCE,
27     SET_EDIT_DATA,
28     SET_FAVORITE,
29     SET_HIDDEN,
30     SET_TITLE,
31     SET_USER_COMMENT,
32     SET_MOVING_PHOTO_EFFECT_MODE,
33     SET_PHOTO_QUALITY_AND_PHOTOID,
34     SET_LOCATION,
35     SET_CAMERA_SHOT_KEY,
36     SAVE_CAMERA_PHOTO,
37     ADD_FILTERS,
38     DISCARD_CAMERA_PHOTO,
39 };
40 
41 enum class AddResourceMode {
42     DEFAULT = -1,
43     DATA_BUFFER,
44     FILE_URI,
45 };
46 
47 } // namespace Media
48 } // namespace OHOS
49 #endif // FRAMEWORKS_NATIVE_INCLUDE_MEDIA_ASSET_TYPES_H