Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
    
    VisualVoicemailTask
    open class VisualVoicemailTask
    
    Represents a visual voicemail event which needs to be handled. While the task is being processed telephony will hold a wakelock for the VisualVoicemailService. The service can unblock the main thread and pass the task to a worker thread. Once the task is finished, VisualVoicemailTask.finish() should be called to signal telephony to release the resources. Telephony will call VisualVoicemailService.onStopped(VisualVoicemailTask) when the task is going to be terminated before completion.
    Summary
    
      
        
          | Public methods | 
        
          | open Boolean |  | 
        
          | Unit | Call to signal telephony the task has completed. | 
        
          | open Int |  | 
      
    
    Public methods
    
      equals
      
      open fun equals(other: Any?): Boolean
      
        
          
            | Parameters | 
          
            | obj | the reference object with which to compare. | 
        
      
      
        
          
            | Return | 
          
            | Boolean | trueif this object is the same as the obj argument;falseotherwise. | 
        
      
     
    
      finish
      
      fun finish(): Unit
      Call to signal telephony the task has completed. Must be called for every task.
     
    
      hashCode
      
      open fun hashCode(): Int
      
        
          
            | Return | 
          
            | Int | a hash code value for this object. | 
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  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.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]