Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
    
    
    
      
interface PlaybackMeasurementCollector
    
    
    Collects playback metrics for a given Player. These metrics are used to evaluate and optimize SDK performance as well as scheduling ads. Construct the collector using 
ImaSdkFactory.createPlaybackMeasurementCollector(Player player) immediately after instantiating the player. Release it when you release the player.
    Summary
    
      
        
          
          
        
        
          
            Public functions | 
          
        
        
          
            Unit | 
            
              
               Releases any resources used by the collector. 
             | 
          
        
      
     
    
      Public functions
      
        
        fun release(): Unit
        Releases any resources used by the collector.
       
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-07-15 UTC.
  
  
  
    
      [null,null,["Last updated 2025-07-15 UTC."],[],[]]