AliyunPipClip

@interface AliyunPipClip : AliyunRenderModel <NSCopying>

API_AVAILABLE(3.25.0) 画中画

  • API_AVAILABLE(3.25.0) 流ID

    Declaration

    Objective-C

    @property (nonatomic, readonly) int streamId;
  • API_AVAILABLE(3.25.0) 画中画类型

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunPipClipType mediaType;
  • API_AVAILABLE(3.25.0) 片段路径

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *clipPath;
  • API_AVAILABLE(3.25.0) 片段分辨率

    API_AVAILABLE(3.25.0) The resolution of clip

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize clipResolution;
  • API_AVAILABLE(3.25.0) 片段层级

    Declaration

    Objective-C

    @property (nonatomic, readonly) int zPosition;
  • API_AVAILABLE(3.25.0) 缩放比

    Declaration

    Objective-C

    @property (nonatomic) CGFloat scale;
  • API_AVAILABLE(3.25.0) 透明度

    Declaration

    Objective-C

    @property (nonatomic) CGFloat alpha;
  • API_AVAILABLE(3.25.0) 原始显示大小,根据分辨率按照AliyunRenderMode_ResizeAspect模式计算得到

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize originSize;
  • API_AVAILABLE(3.25.0) 片段开始时间(截取开始时间)

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval clipStartTime;
  • API_AVAILABLE(3.25.0) 片段结束时间(截取结束时间)

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval clipEndTime;
  • API_AVAILABLE(3.25.0) 片段原始时长

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval clipOriginDuration;
  • API_AVAILABLE(3.25.0) 片段截取时长

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval clipDuration;
  • API_AVAILABLE(3.31.0) 是否水平翻转

    Declaration

    Objective-C

    @property (nonatomic) BOOL horizontalFlip;
  • API_AVAILABLE(3.25.0) 纯色边框

    Declaration

    Objective-C

    @property (nonatomic, strong) AliyunPureColorBorderInfo *border;
  • API_AVAILABLE(3.25.0) 画面增强参数

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunClipAugmentationInfo *augmentation;
  • API_AVAILABLE(3.25.0) 音频参数

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunClipAudioInfo *audio;
  • API_AVAILABLE(3.25.0) 初始化函数

    Declaration

    Objective-C

    - (instancetype)initWithClipType:(AliyunPipClipType)type
                            clipPath:(NSString *)clipPath;

    Parameters

    type

    画中画片段类型

    clipPath

    画中画片段路径

  • 获取所有动画action API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    - (NSArray *)getAllActionList;
  • Unavailable

    not support mirror

    Undocumented

    Declaration

    Objective-C

    - (void)setIsMirror:(BOOL)isMirror;
  • Unavailable

    please use ClipEndTime

    Undocumented

    Declaration

    Objective-C

    - (void)setDuration:(NSTimeInterval)duration;