Class NativeCreatedState

  • All Implemented Interfaces:
    com.inmobi.media.ads.common.base.state.State

    
    public final class NativeCreatedState
     implements State
                        

    Represents the initial created state of a native ad unit. This state is the starting point of the native ad unit lifecycle, transitioning to loading state when inflation is requested.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit inflate() Initiates the inflation process for the native ad unit.
      • Methods inherited from class com.inmobi.media.ads.common.base.state.State

        cleanUp, initialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NativeCreatedState

        NativeCreatedState(NativeAdUnitComponent nativeAdUnitComponent, NativeAdUnitStateMachine stateMachine)
        Parameters:
        nativeAdUnitComponent - The dependency injection component providing required dependencies.
        stateMachine - The state machine managing the lifecycle transitions.
    • Method Detail

      • inflate

         final Unit inflate()

        Initiates the inflation process for the native ad unit. This method transitions the state from created to loading state.