Contents Now Platform Capabilities Previous Topic Next Topic NotifyNow - isVoiceCapable(String userID) Subscribe Log in to subscribe to topics and get notified when content changes. ... SAVE AS PDF Selected Topic Topic & Subtopics All Topics in Contents Share NotifyNow - isVoiceCapable(String userID) Checks if a user is able to make voice calls. Table 1. Parameters Name Type Description userID String The sys_id of the user you want to check for a voice-call capable phone number. Table 2. Returns Type Description boolean Whether the user has a voice-call capable phone number. gs.log('the user is able to send SMS messages (e.g. has a SMS device): ' + ((new SNC.NotifyNow().isVoiceCapable('someuserid')) ? 'yes' : 'no')); On this page Send Feedback Previous Topic Next Topic
NotifyNow - isVoiceCapable(String userID) Checks if a user is able to make voice calls. Table 1. Parameters Name Type Description userID String The sys_id of the user you want to check for a voice-call capable phone number. Table 2. Returns Type Description boolean Whether the user has a voice-call capable phone number. gs.log('the user is able to send SMS messages (e.g. has a SMS device): ' + ((new SNC.NotifyNow().isVoiceCapable('someuserid')) ? 'yes' : 'no'));
NotifyNow - isVoiceCapable(String userID) Checks if a user is able to make voice calls. Table 1. Parameters Name Type Description userID String The sys_id of the user you want to check for a voice-call capable phone number. Table 2. Returns Type Description boolean Whether the user has a voice-call capable phone number. gs.log('the user is able to send SMS messages (e.g. has a SMS device): ' + ((new SNC.NotifyNow().isVoiceCapable('someuserid')) ? 'yes' : 'no'));