Flash'In'App - ESRealView - Delegate methods

realView:changePosition:withLength:

This method is called when the position in the clip changes.

- (void) realView:(ESRealView *)aRealView changePosition:(int)aPosition withLength:(int)aLength;

Parameters
aRealView - the real view that sent the message
aPosition - the current position of the clip, in milliseconds.
aLength - the length of the clip, in milliseconds.

Discussion
This method is called only if you set callbackFlags to Real_OnPosLength.

realView:receiveError:withLevel:rmaCode:userCode:userString:moreInfo:

This method is called when an error occurs.

- (void) realView:(ESRealView *)aRealView receiveError:(NSString *)anError withLevel:(RealErrorLevel)aLevel rmaCode:(int)aRmaCode userCode:(int)aUserCode userString:(NSString *)anUserSrting moreInfo:(NSURL *)anInfoURL;Parameters
aRealView - the real view that sent the message
anError - a text description of the error.
aLevel - the error level for the last error.
aRmaCode - the RMA error code from the last error.
aUserCode - the user error code from the last error.
anUserSrting - the error string from the last error dialog.
anInfoURL - the "more info" URL from the last error. This may be empty (for example, if there is no "more info" URL).

Discussion
This method is called only if you set callbackFlags to Real_OnErrorMessage.

 

realView:didCallFunction:withArguments:

This method is called when the message from RealPlayer is received.

- (void) realView:(ESRealView *)aRealView didCallFunction:(NSString *)aName withArguments:(NSArray *)anArguments;

Parameters
aRealView - the Real view that sent the message
aName - the name of the function that was called
anArguments - the arguments, the function was called with

Discussion

If realView:changePosition:withLength: method was not implemented, but callbackFlags value is equal to Real_OnPosLength, you receive notification about invoking the function with "OnPosLength" name with 2 arguments.