Reputation: 3667
Kotlin noob here.
When I ctrl+click
on BluetoothDevice
it opens...
\AppData\Local\Android\Sdk\sources\android-28\android\bluetooth\BluetoothDevice.java
In there I can see...
public String getAliasName()
Yet I'm unable to access it in my ScanCallback
. Why not?
I have minSdkVersion
set to 28.
Upvotes: 2
Views: 507
Reputation: 3157
The method is annotated with @hide
, so it means it's not available in public API. Read more about it here: What does @hide mean in the Android source code?
Upvotes: 2