AliyunRollCaptionComposer

@interface AliyunRollCaptionComposer : NSObject

* The composer of roll caption

  • Update caption info list

    Declaration

    Objective-C

    - (void)updateCaptionList:
        (nonnull NSArray<AliyunRollCaptionItemStyle *> *)captionList;

    Parameters

    captionList

    Each caption contains: - see: AliyunRollCaptionItemStyle

  • Edit style for single caption API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (nonnull AliyunRollCaptionItemStyle *)captionItemStyle:(int)index;

    Parameters

    index

    @return

  • Create roll effects and display API_AVAILABLE(3.20.0)

    Declaration

    Objective-C

    - (BOOL)show;

    Return Value

    bool

  • Clear roll effects and hide. API_AVAILABLE(3.20.0) Note: Will clear caption info

    Declaration

    Objective-C

    - (BOOL)reset;