Device.getNKeys

int getNKeys()

Returns the number of keys the device currently has.

Returns

the number of keys.