Object GoogleImaIntegrationFactory
-
- All Implemented Interfaces:
-
com.theoplayer.android.internal.integration.IntegrationFactory
public class GoogleImaIntegrationFactory implements IntegrationFactoryFactory class for creating GoogleImaIntegration instance.
-
-
Field Summary
Fields Modifier and Type Field Description public final static GoogleImaIntegrationFactoryINSTANCE
-
Method Summary
Modifier and Type Method Description final static GoogleImaIntegrationcreateGoogleImaIntegration(THEOplayerView theoplayerView, GoogleImaConfiguration googleImaConfiguration)Creates a GoogleImaIntegration instance. final static GoogleImaIntegrationcreateGoogleImaIntegration(THEOplayerView theoplayerView, ImaSdkSettings imaSdkSettings)Creates a GoogleImaIntegration instance. final static GoogleImaIntegrationcreateGoogleImaIntegration(THEOplayerView theoplayerView)Creates a GoogleImaIntegration instance. GoogleImaIntegrationcreateIntegration(THEOplayerView theoplayerView)-
-
Method Detail
-
createGoogleImaIntegration
final static GoogleImaIntegration createGoogleImaIntegration(THEOplayerView theoplayerView, GoogleImaConfiguration googleImaConfiguration)
Creates a GoogleImaIntegration instance.
- Parameters:
theoplayerView- The THEOplayerView where the ad would play (NonNull).googleImaConfiguration- The configuration for the Google IMA integration.- Returns:
The GoogleImaIntegration (NonNull).
-
createGoogleImaIntegration
@Deprecated(message = "use createGoogleImaIntegration(THEOplayerView, GoogleImaConfiguration)", replaceWith = @ReplaceWith(imports = {"com.theoplayer.android.api.ads.ima.GoogleImaIntegrationFactory.createGoogleImaIntegration", "com.theoplayer.android.api.ads.ima.GoogleImaConfiguration"}, expression = "createGoogleImaIntegration(theoplayerView, GoogleImaConfiguration(imaSdkSettings = imaSdkSettings))")) final static GoogleImaIntegration createGoogleImaIntegration(THEOplayerView theoplayerView, ImaSdkSettings imaSdkSettings)
Creates a GoogleImaIntegration instance.
- Parameters:
theoplayerView- The THEOplayerView where the ad would play (NonNull).imaSdkSettings- The settings for the IMA SDK.- Returns:
The GoogleImaIntegration (NonNull).
-
createGoogleImaIntegration
final static GoogleImaIntegration createGoogleImaIntegration(THEOplayerView theoplayerView)
Creates a GoogleImaIntegration instance.
This uses the GoogleImaConfiguration specified in THEOplayerConfig.googleImaConfiguration.
- Parameters:
theoplayerView- The THEOplayerView where the ad would play (NonNull).- Returns:
The GoogleImaIntegration (NonNull).
-
createIntegration
GoogleImaIntegration createIntegration(THEOplayerView theoplayerView)
-
-
-
-