Class LogoConfig.Builder
java.lang.Object
com.jwplayer.pub.api.configuration.LogoConfig.Builder
- Enclosing class:
- LogoConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fades
(boolean fades) Determines if the logo appears and disappears with the controls, but only if the controls are set to fade.Sets the logo’s image by downloading the image at the specified URL.Distance between the logo and the player’s edge, specified in points.Defines the corner on the player in which the logo displays.URL to which a user is sent when the logo is tapped.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageFile
Sets the logo’s image by downloading the image at the specified URL. The dimensions of the logo will match the dimensions of the image provided without resizing. For example, an image of 100x50 pixels will render a logo of 100x50, regardless of the dimensions of the player window.- Parameters:
imageFile
-
-
fades
Determines if the logo appears and disappears with the controls, but only if the controls are set to fade. If the controls are not set to fade, the logo is visible when the controls are visible and not be visible when the controls are turned off. If unspecified, this parameter The default value is false.- Parameters:
fades
-
-
margin
Distance between the logo and the player’s edge, specified in points. If unspecified, this parameter The default value is 8.- Parameters:
margin
-
-
position
Defines the corner on the player in which the logo displays. If unspecified, this parameter The default value is [topLeft].- Parameters:
position
-
-
webLink
URL to which a user is sent when the logo is tapped.- Parameters:
webLink
-
-
build
-