![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartMediaVideoView.h>
Class Methods | |
(void) | + configurateGlobalBackgroundWrappedHandler: |
(void) | + configurateGlobalBackgroundWrappedHandler: |
Properties | |
ThingVideoViewBackgroundWrappedHandler | backgroundWrappedHandler |
BOOL | scaleToFill |
BOOL | enableFeatureTracking |
![]() | |
BOOL | scaleToFill |
Definition at line 19 of file ThingSmartMediaVideoView.h.
+ (void) configurateGlobalBackgroundWrappedHandler: | (nullable ThingVideoViewBackgroundWrappedHandler) | backgroundWrappedHandler |
+ (void) configurateGlobalBackgroundWrappedHandler: | (nullable ThingVideoViewBackgroundWrappedHandler) | backgroundWrappedHandler |
- (void) displayPixelBuffer: | (CVPixelBufferRef) | pixelBuffer |
Render YUV
Reimplemented from <ThingSmartVideoViewType>.
- (void) displayPixelBuffer: | (CVPixelBufferRef) | pixelBuffer |
Render YUV
Reimplemented from <ThingSmartVideoViewType>.
- (void) displayPixelBuffer: | (CVPixelBufferRef) | pixelBuffer | |
featureRect: | (CGRect) | rect | |
Reimplemented from <ThingSmartVideoViewType>.
- (void) displayPixelBuffer: | (CVPixelBufferRef) | pixelBuffer | |
featureRect: | (CGRect) | rect | |
Reimplemented from <ThingSmartVideoViewType>.
- (void) enableFeatureTracking: | (BOOL) | enabled | |
animated: | (BOOL) | animated | |
Reimplemented from <ThingSmartVideoViewType>.
- (void) enableFeatureTracking: | (BOOL) | enabled | |
animated: | (BOOL) | animated | |
Reimplemented from <ThingSmartVideoViewType>.
- (UIImage *) screenshot |
[^en] get a screenshot from current video frame [$en]
[^zh] 从当前视频帧获取截图 [$zh]
Reimplemented from <ThingSmartVideoViewType>.
- (UIImage *) screenshot |
[^en] get a screenshot from current video frame [$en]
[^zh] 从当前视频帧获取截图 [$zh]
Reimplemented from <ThingSmartVideoViewType>.
- (void) startPlay |
Reimplemented from <ThingSmartVideoViewType>.
- (void) startPlay |
Reimplemented from <ThingSmartVideoViewType>.
- (void) stopPlay |
Reimplemented from <ThingSmartVideoViewType>.
- (void) stopPlay |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_clear |
[^en] clear video content, and reset scale and offset [$en]
[^zh] 清空视频内容,重置 scale 和 offset [$zh]
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_clear |
[^en] clear video content, and reset scale and offset [$en]
[^zh] 清空视频内容,重置 scale 和 offset [$zh]
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setOffset: | (CGPoint) | offset |
[^en] video offset [$en]
[^zh] 视频偏移量 [$zh]
offset | [^en]offset point[$en] [^zh]视频偏移量[$zh] |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setOffset: | (CGPoint) | offset |
[^en] video offset [$en]
[^zh] 视频偏移量 [$zh]
offset | [^en]offset point[$en] [^zh]视频偏移量[$zh] |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setRotate: | (float) | rotateZ |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setRotate: | (float) | rotateZ |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setScaled: | (float) | scaled |
[^en] video scale factory [$en]
[^zh] 视频缩放 [$zh]
scaled | [^en]scale factory[$en] [^zh]视频缩放[$zh] |
Reimplemented from <ThingSmartVideoViewType>.
- (void) thing_setScaled: | (float) | scaled |
[^en] video scale factory [$en]
[^zh] 视频缩放 [$zh]
scaled | [^en]scale factory[$en] [^zh]视频缩放[$zh] |
Reimplemented from <ThingSmartVideoViewType>.
|
readwritenonatomiccopy |
Definition at line 22 of file ThingSmartMediaVideoView.h.
|
readwritenonatomicassign |
Definition at line 26 of file ThingSmartMediaVideoView.h.
|
readwritenonatomicassign |
Definition at line 24 of file ThingSmartMediaVideoView.h.