Contents

isVoIPAllowed()

Returns whether voice chat is available on the device.

Declaration

class func isVoIPAllowed() -> Bool

Return Value

true if voice chat is available to the game.

Discussion

Some countries or phone carriers may restrict the availability of Voice-over-IP (VoIP) services. Before creating a GKVoiceChat object, your game should first check to see whether the device supports VoIP.