onVoicemail

abstract fun onVoicemail(@Nullable accountId: String, @Nullable voicemail: Voicemail.Record)

New voicemail arrived.

This method may be called only when feature Voicemail is provided.

Parameters

accountId

ID of the account the voicemail arrived to; null if feature Multiple Accounts is not provided.

voicemail

The voicemail information; null if no information available.