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 |
true if this object is the same as the obj argument; false otherwise. |
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. |