AliyunActionProtocol

@protocol AliyunActionProtocol <NSObject>

* The protocol of animations.

  • * Adds an animation.

    Declaration

    Objective-C

    - (void)addAction:(AliyunAction *)action;

    Parameters

    action

    The animation to be added.

  • * Removes an animation.

    Declaration

    Objective-C

    - (void)removeAction:(AliyunAction *)action;

    Parameters

    action

    The animation to be removed.

  • * Gets the id of an animation.

    Declaration

    Objective-C

    - (int)getNodeID;

    Return Value

    The id of an animation.

  • * Gets whether an object is a video stream.

    Declaration

    Objective-C

    - (BOOL)isVideoStream;

    Return Value

    BOOL