# GetDeviceNetworkType

## Description

Returns the type of network connection the device has to the internet. Returns 0 if a mobile connection is being used, 1 if a Wifi or Ethernet connection is being used, or -1 if the network type could not be determined. Currently only implemented on iOS and Android, other platforms will return -1.

## Definition

integer GetDeviceNetworkType()

int agk::GetDeviceNetworkType()