---
title: isVoIPAllowed()
framework: gamekit
role: symbol
role_heading: Type Method
path: gamekit/gkvoicechat/isvoipallowed()
---

# isVoIPAllowed()

Returns whether voice chat is available on the device.

## Declaration

```swift
class func isVoIPAllowed() -> Bool
```

## Return Value

Return Value true if voice chat is available to the game.

## Discussion

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.
