1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #import <Foundation/Foundation.h>
- typedef NS_ENUM(NSInteger, GDTVideoAutoPlayPolicy) {
- GDTVideoAutoPlayPolicyWIFI = 0,
- GDTVideoAutoPlayPolicyAlways = 1,
- GDTVideoAutoPlayPolicyNever = 2,
- };
- NS_ASSUME_NONNULL_BEGIN
- @interface GDTVideoConfig : NSObject
- @property (nonatomic, assign) GDTVideoAutoPlayPolicy autoPlayPolicy;
- @property (nonatomic, assign) BOOL videoMuted;
- @property (nonatomic, assign) BOOL detailPageVideoMuted;
- @property (nonatomic, assign) BOOL autoResumeEnable;
- @property (nonatomic, assign) BOOL detailPageEnable;
- @property (nonatomic, assign) BOOL userControlEnable;
- @property (nonatomic, assign) BOOL progressViewEnable;
- @property (nonatomic, assign) BOOL coverImageEnable;
- @end
- NS_ASSUME_NONNULL_END
|