PLSEditSettings.h
2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//
// PLSEditSettings.h
// PLShortVideoKit
//
// Created by suntongmian on 2017/7/11.
// Copyright © 2017年 Pili Engineering, Qiniu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "PLSTypeDefines.h"
// ------------------------------------------------------------------
/*!
@constant PLSMovieSettingsKey
@abstract 视频对象的编辑信息
@discussion
存储的值的类型为 NSDictionary,包括
PLSURLKey,
PLSAssetKey,
PLSStartTimeKey,
PLSDurationKey,
PLSVolumeKey,
PLSNameKey
Note: PLSURLKey 和 PLSAssetKey 中必须设置其中的一项.
@since v1.1.0
*/
PLS_EXPORT NSString *const PLSMovieSettingsKey;
/*!
@constant PLSAudioSettingsKey
@abstract 音频对象的编辑信息
@discussion
存储的值的类型为 NSDictionary,包括
PLSURLKey,
PLSStartTimeKey,
PLSDurationKey,
PLSVolumeKey,
PLSNameKey, // 可以不设置
PLSLocationStartTimeKey, // added by v1.11.0
PLSLocationDurationKey // added by v1.11.0
@since v1.1.0
*/
PLS_EXPORT NSString *const PLSAudioSettingsKey;
/*!
@constant PLSWatermarkSettingsKey
@abstract 水印的设置信息
@discussion
存储的值的类型为 NSDictionary,包括
PLSURLKey,
PLSSizeKey,
PLSPointKey
@since v1.1.0
*/
PLS_EXPORT NSString *const PLSWatermarkSettingsKey;
/*!
@constant PLSStickerSettingsKey
@abstract 贴纸设置信息
@discussion
存储的值的类型为 NSDictionary,包括
PLSStickerKey,
PLSSizeKey,
PLSPointKey
PLSRotationKey,
PLSStartTimeKey,
PLSDurationKey,
PLSVideoPreviewSizeKey,
PLSVideoOutputSizeKey
@since v1.11.0
*/
PLS_EXPORT NSString *const PLSStickerSettingsKey;
// ------------------------------------------------------------------
PLS_EXPORT NSString *const PLSURLKey; /* NSURL */
PLS_EXPORT NSString *const PLSAssetKey; /* AVAsset */
PLS_EXPORT NSString *const PLSDurationKey; /* NSNumber(float) */
PLS_EXPORT NSString *const PLSStartTimeKey; /* NSNumber(float) */
PLS_EXPORT NSString *const PLSVolumeKey; /* NSNumber(float) */
PLS_EXPORT NSString *const PLSNameKey; /* NSString */
PLS_EXPORT NSString *const PLSSizeKey; /* NSValue(CGSize) */
PLS_EXPORT NSString *const PLSPointKey; /* NSValue(CGPoint) */
PLS_EXPORT NSString *const PLSStickerKey; /* UIView */
PLS_EXPORT NSString *const PLSRotationKey; /* NSNumber(float),单位为度,比如:0,45,90,180 */
PLS_EXPORT NSString *const PLSVideoPreviewSizeKey; /* NSValue(CGSize) */
PLS_EXPORT NSString *const PLSVideoOutputSizeKey; /* NSValue(CGSize) */
PLS_EXPORT NSString *const PLSLocationStartTimeKey; /* NSNumber(float) */
PLS_EXPORT NSString *const PLSLocationDurationKey; /* NSNumber(float) */