TencentNavKit

TNKSnapShotConfig.h
Go to the documentation of this file.
1//
2// TNKSnapShotConfig.h
3// TencentNavKit
4//
5// Created on 2025/9/22.
6// Copyright © 2025 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
17@interface TNKSnapShotConfig : NSObject
18
22@property (nonatomic, assign) CGFloat width;
23
27@property (nonatomic, assign) CGFloat height;
28
32@property (nonatomic, assign) NSTimeInterval interval;
33
37@property (nonatomic, assign) BOOL usesStaticMapWhenAppActive;
38
39@end
40
41NS_ASSUME_NONNULL_END
TNKSnapShotConfig
截图配置类
Definition: TNKSnapShotConfig.h:18
TNKSnapShotConfig::interval
NSTimeInterval interval
截图的间隔（秒）。最小1秒，最大10秒。
Definition: TNKSnapShotConfig.h:32
TNKSnapShotConfig::height
CGFloat height
截图区域宽，默认 256
Definition: TNKSnapShotConfig.h:27
TNKSnapShotConfig::usesStaticMapWhenAppActive
BOOL usesStaticMapWhenAppActive
前台截图时使用静态图（默认开启）
Definition: TNKSnapShotConfig.h:37
TNKSnapShotConfig::width
CGFloat width
截图区域宽，默认 256
Definition: TNKSnapShotConfig.h:22