You are here

function hook_mobile_tools_device_capability in Mobile Tools 7.3

Same name and namespace in other branches
  1. 7.2 mobile_tools.api.php \hook_mobile_tools_device_capability()

Detect if the given feature is available for the given device.

@todo verify the notes on this hook @todo see how this works

Parameters

string $capability: Name of the capability to test

string $device: Name of the device to test

Return value

boolean Returns TRUE if the device is capable, FALSE otherwise.

File

./mobile_tools.api.php, line 63
API functions for mobile_tools

Code

function hook_mobile_tools_device_capability($capability, $device = NULL) {
}