Class CompanionAdState

  • All Implemented Interfaces:

    
    public class CompanionAdState
    
                        

    Sealed class representing the different states of a companion ad during its lifecycle. This class defines all possible states that a companion ad can be in.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class CompanionAdState.Created

      Initial state when the companion ad is created but not yet loading.

      public class CompanionAdState.Loading

      State when the companion ad is currently being loaded.

      public class CompanionAdState.Available

      State when the companion ad has been successfully loaded and is available for display.

      public class CompanionAdState.Failed

      State when the companion ad failed to load or encountered an error.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

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

    • Method Detail