com.ooyala.android.skin.configuration.SkinOptions.Builder Class Reference

Supports a fluid syntax for configuration. More...

Public Member Functions

 Builder ()
 Defaults to the following values: bundleAssetName = index.android.jsbundle;. More...
 
Builder setBundleAssetName (String bundleAssetName)
 Set the file name of the jsbundle for the Skin included in the application's assets Default: index.android.jsbundle. More...
 
Builder setSkinOverrides (JSONObject skinOverrides)
 Set the JSONObject to override parts of the skin.json file in the application Default: new JSONObject() More...
 
Builder setEnableReactJSServer (boolean enableReactJSServer)
 Setting to true enables the OoyalaSkin to query a server URL to get the Skin Javascript Default: false. More...
 
Builder setReactJSServerHost (String reactJSServerHost)
 Set the React JS host server to use when dynamically querying for Skin Javascript Note: Must have enableReactJSServer set to true to be used Default: "127.0.0.1:8081". More...
 
Builder setSkinConfigAssetName (String skinConfigAssetName)
 Set the file name of the skin configuration included in the application's assets Default: "skin.json". More...
 
SkinOptions build ()
 Build the Options Class. More...
 

Detailed Description

Supports a fluid syntax for configuration.

Constructor & Destructor Documentation

com.ooyala.android.skin.configuration.SkinOptions.Builder.Builder ( )
inline

Defaults to the following values: bundleAssetName = index.android.jsbundle;.

Member Function Documentation

SkinOptions com.ooyala.android.skin.configuration.SkinOptions.Builder.build ( )
inline

Build the Options Class.

Returns
Builder com.ooyala.android.skin.configuration.SkinOptions.Builder.setBundleAssetName ( String  bundleAssetName)
inline

Set the file name of the jsbundle for the Skin included in the application's assets Default: index.android.jsbundle.

Parameters
bundleAssetName
Returns
the builder, to continue building the Options
Builder com.ooyala.android.skin.configuration.SkinOptions.Builder.setEnableReactJSServer ( boolean  enableReactJSServer)
inline

Setting to true enables the OoyalaSkin to query a server URL to get the Skin Javascript Default: false.

Parameters
enableReactJSServer
Returns
the builder, to continue building the Options
Builder com.ooyala.android.skin.configuration.SkinOptions.Builder.setReactJSServerHost ( String  reactJSServerHost)
inline

Set the React JS host server to use when dynamically querying for Skin Javascript Note: Must have enableReactJSServer set to true to be used Default: "127.0.0.1:8081".

Parameters
reactJSServerHost
Returns
the builder, to continue building the Options
Builder com.ooyala.android.skin.configuration.SkinOptions.Builder.setSkinConfigAssetName ( String  skinConfigAssetName)
inline

Set the file name of the skin configuration included in the application's assets Default: "skin.json".

Parameters
skinConfigAssetName
Returns
the builder, to continue building the Options
Builder com.ooyala.android.skin.configuration.SkinOptions.Builder.setSkinOverrides ( JSONObject  skinOverrides)
inline

Set the JSONObject to override parts of the skin.json file in the application Default: new JSONObject()

Parameters
skinOverrides
Returns
the builder, to continue building the Options

The documentation for this class was generated from the following file:
  • SkinOptions.java