AliyunPipClip

@interface AliyunPipClip : AliyunRenderModel <NSCopying>

* API_AVAILABLE(3.25.0) The model of picture in picture

  • * API_AVAILABLE(3.25.0) The id of stream

    Declaration

    Objective-C

    @property (nonatomic, readonly) int streamId;
  • * API_AVAILABLE(3.25.0) The media type of picture in picture

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunPipClipType mediaType;
  • * API_AVAILABLE(3.25.0) The path of clip

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *clipPath;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize clipResolution
  • * API_AVAILABLE(3.25.0) The z position of clip

    Declaration

    Objective-C

    @property (nonatomic, readonly) int zPosition;
  • * API_AVAILABLE(3.25.0) The scale of clip

    Declaration

    Objective-C

    @property (nonatomic) CGFloat scale;
  • * API_AVAILABLE(3.25.0) The alpha value of video

    Declaration

    Objective-C

    @property (nonatomic) CGFloat alpha;
  • * API_AVAILABLE(3.25.0) origin size, According to the clipResolution, calculate with displaySize using AliyunRenderMode_ResizeAspect

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize originSize;
  • * API_AVAILABLE(3.25.0) The start time in clip

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval clipStartTime;
  • * API_AVAILABLE(3.25.0) The end time in clip

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval clipEndTime;
  • * API_AVAILABLE(3.25.0) The origin duration of clip

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval clipOriginDuration;
  • * API_AVAILABLE(3.25.0) The duration of clip that show on timeline

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval clipDuration;
  • * API_AVAILABLE(3.31.0) Horizontal flip or no

    Declaration

    Objective-C

    @property (nonatomic) BOOL horizontalFlip;
  • * API_AVAILABLE(3.25.0) The border of clip

    Declaration

    Objective-C

    @property (nonatomic, strong) AliyunPureColorBorderInfo *border;
  • * API_AVAILABLE(3.25.0) The augmentation of clip

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunClipAugmentationInfo *augmentation;
  • * API_AVAILABLE(3.25.0) The audio info of clip

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunClipAudioInfo *audio;
  • * API_AVAILABLE(3.25.0) The Init function

    Declaration

    Objective-C

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

    Parameters

    type

    The type of picture in picture clip

    clipPath

    The path of picture in picture clip

  • * get all frame animation actions. 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;