fsplayer.ui.skins.ISkinListener Interface

The ISkinListener interface is implemented by the player core and allows it to receive the notification from the skin when the skin has been initialized.

Table 1. Methods
Method Description
onSkinInit(skin:ISkin):Void This method is invoked by skins to notify the player core that the skin has been initialized. The skin parameter is an object which implements the ISkin interface.


Skin initialization can require some time especially if the skin needs to load some information from the Internet in order to finish the initialization process. Skin notifies the player core via onSkinInit() method call on the ISkinListener interface. The ISkinListener Interface is passed to the skin via setListener() method of the ISkin Interface.

warning The player core will not start loading presentation slides until it gets onSkinInit notification.