SourceStatus
This class represents the status of a DAB source during a discover
Item Index
Methods
phase
                                            
                                                    
                                                        (
                                            
                                                    
                                                        String
                                                    
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                                
                                            
                                                - 
                                                                    
[dataURL=false] 
Retrieves the name of phase of completion (default) or a data URL of a correspondent predefined icon
Parameters:
- 
                                                                    
[dataURL=false]Boolean optionalIf omitted or set to
falsereturns the name of the phase of completion, otherwise returns the data URL of a correspondent predefined icon as depicted in the following table:Phase description Phase name ( dataURLomitted or set tofalse)Phase as data URL ( dataURLset totrue)Phase data URL rendered Query initialization "INIT" INIT_DATA_URL Distribution of the query to the sources "DISTRIBUTION" DISTRIBUTION_DATA_URL Query validation "VALIDATION" VALIDATION_DATA_URL Query decoding "DECODING_REQUEST" DECODING_REQUEST_DATA_URL Waiting response from the source "NETWORK_WAITING" NETWORK_WAITING_DATA_URL Collecting sources responses "JOIN" JOIN_DATA_URL Processing response "PROCESSING" PROCESSING_DATA_URL Response decoding "DECODING_RESPONSE" DECODING_RESPONSE_DATA_URL Query completed "COMPLETED" COMPLETED_DATA_URL Error occurred "ERROR" ERROR_DATA_URL Source unreachable "TIMEOUT" TIMEOUT_DATA_URL  
Returns:
                                                                    String:
                                                                
                                                    A String with the name of the phase of completion or a data URL of a correspondent predefined icon
progress
                                            
                                                    ()
                                            
                                                    
                                                        Integer
                                                    
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                                
                                            
                                                Retrieves the percentage of completion of this source
Returns:
                                                                    Integer:
                                                                
                                                    The percentage of completion of this source
title
                                            
                                                    ()
                                            
                                                    
                                                        String
                                                    
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                                
                                            
                                                Retrieves the report title of this source
Returns:
                                                                    String:
                                                                
                                                    A String with the report title of this source
