Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
    
    AppSetIdManager
    open class AppSetIdManager
    
    AppSetIdManager provides APIs for app and ad-SDKs to access appSetId for non-monetizing purpose.
    Summary
    
      
        
          | Public methods | 
        
          | open static AppSetIdManager | Factory method for creating an instance of AppSetIdManager. | 
        
          | open Unit | Retrieve the AppSetId. | 
      
    
    Public methods
    
      get
      
      open static fun get(context: Context): AppSetIdManager
      Factory method for creating an instance of AppSetIdManager.
      
        
          
            | Parameters | 
          
            | context | Context: The Contextto use This value cannot benull. | 
        
      
      
     
    
      getAppSetId
      
      open fun getAppSetId(
    executor: Executor, 
    callback: OutcomeReceiver<AppSetId!, Exception!>
): Unit
      Retrieve the AppSetId.
      
        
          
            | Parameters | 
          
            | executor | Executor: The executor to run callback. This value cannot be null. Callback and listener events are dispatched through thisExecutor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can useContext.getMainExecutor(). Otherwise, provide anExecutorthat dispatches to an appropriate thread. | 
          
            | callback | OutcomeReceiver<AppSetId!, Exception!>: The callback that's called after appsetid are available or an error occurs. This value cannot be null. | 
        
      
      
        
          
            | Return | 
          
            | Unit | This value cannot be null. | 
        
      
     
  
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]