readyForMessaging

Check if an account supports messaging.

Using this method requires feature Messaging.

Return

true if the specified account supports messaging or false otherwise.

Parameters

accountId

ID of the account to check the support on; null if feature Multiple Accounts is not provided or for default account.


Check if an account supports messaging.

Using this method requires feature Messaging.

Return

true if the specified account supports messaging or false otherwise.

Parameters

index

Index of the account to check the support on; 0 ≤ index <getAccountCount; 0 if feature Multiple Accounts is not provided.