java - Android BluetoothDevice Reflection -


i have found several examples of using reflection call methods on instances of android's bluetoothdevice objects.(http://developer.android.com/reference/android/bluetooth/bluetoothdevice.html)

example: how unpair or delete paired bluetooth device programmatically on android?

can methods invoked directly on object instances? found in documentation bluetoothdevice:

"this class thin wrapper bluetooth hardware address.  objects of class immutable. operations on class performed on remote bluetooth hardware address, using bluetoothadapter  used create bluetoothdevice." 

does imply reflection necessary invoke methods? why code uses consistently use reflection these objects?


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -