Added in API level 26

VisualVoicemailTask


open class VisualVoicemailTask
kotlin.Any
   ↳ android.telephony.VisualVoicemailService.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
equals(other: Any?)

Unit

Call to signal telephony the task has completed.

open Int

Public methods

equals

Added in API level 26
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

Added in API level 26
fun finish(): Unit

Call to signal telephony the task has completed. Must be called for every task.

hashCode

Added in API level 26
open fun hashCode(): Int
Return
Int a hash code value for this object.