Package com.castlabs.android.hybridads
Class HybridAdPlugin
java.lang.Object
com.castlabs.android.Plugin
com.castlabs.android.hybridads.HybridAdPlugin
Plugin for handling hybrid ads.
-
Constructor Summary
ConstructorsConstructorDescriptionHybridAdPlugin(com.castlabs.android.tunerhal.aidl.IPlayerService tunerhalPlayerService) Create a new instance of this plugin using the default configuration.HybridAdPlugin(com.castlabs.android.tunerhal.aidl.IPlayerService tunerhalPlayerService, boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes) Create a new instance of this plugin using the default configuration. -
Method Summary
Methods inherited from class com.castlabs.android.Plugin
init, onRemotePlay
-
Constructor Details
-
HybridAdPlugin
public HybridAdPlugin(com.castlabs.android.tunerhal.aidl.IPlayerService tunerhalPlayerService, boolean doesVideoUseSharedMemory, boolean doesAudioUseSharedMemory, int videoSharedMemorySizeInBytes, int audioSharedMemorySizeInBytes) Create a new instance of this plugin using the default configuration.- Parameters:
tunerhalPlayerService- The player service instance from tuner HAL.doesVideoUseSharedMemory- Whether Video in Plugin Uses Shared MemorydoesAudioUseSharedMemory- Whether Audio in Plugin Uses Shared MemoryvideoSharedMemorySizeInBytes- Size of Video Shared Memory to be allocated in BytesaudioSharedMemorySizeInBytes- Size of Audio Shared Memory to be allocated in Bytes
-
HybridAdPlugin
public HybridAdPlugin(com.castlabs.android.tunerhal.aidl.IPlayerService tunerhalPlayerService) Create a new instance of this plugin using the default configuration.- Parameters:
tunerhalPlayerService- The player service instance from tuner HAL.
-
-
Method Details