Gets a value indicating whether the hardware keyboard is present.
Syntax
var keyboardPresent = keyboardCapabilities.keyboardPresent;
Property value
Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++] |
True if the hardware keyboard is present; otherwise, false.
Remarks
Windows Phone 8
This API is not implemented and will throw an exception if called.
Examples
The following code shows how to use this method.
function getKeyboardCapabilities() {
var keyboardCapabilities = new Windows.Devices.Input.KeyboardCapabilities();
id("keyboardPresent").innerHTML = keyboardCapabilities.KeyboardPresent;
}
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013