Eight.Network.getConnectionCost

Returns the type of the network cost (see CostType enum).

Example

if (Eight.Network.getConnectionCost() === Eight.Network.CostType.unrestricted) {
    // ... unrestricted, lets download the whole internets!
}

Last edited Feb 2, 2013 at 4:39 PM by gotdibbs, version 2

Comments

No comments yet.