Interface DurationChangeEvent
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.theoplayer.android.api.event.Event,com.theoplayer.android.api.event.player.PlayerEvent
 
 public interface DurationChangeEvent implements PlayerEvent<E> Fired when DURATIONCHANGE occurs for the Player. Example: - One of the cases where the duration is updated, is when you set a new source.
 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract DoublegetDuration()The new duration of the content. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getDuration@NonNull() abstract Double getDuration() The new duration of the content. - Returns 0 if the duration is unknown.
- Returns Double.NaN for a LIVE stream.
 - Returns:
- The new duration, in seconds. (NonNull) 
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-