Newbie and stupid: Is there a way to be told when Bluetooth is enabled/disabled?
Newbie and stupid: Is there a way to be told when Bluetooth is enabled/disabled?
- Subject: Newbie and stupid: Is there a way to be told when Bluetooth is enabled/disabled?
- From: Stephane Sudre <email@hidden>
- Date: Thu, 29 Sep 2005 12:17:45 +0200
To get the Bluetooth status, I'm currently thinking about polling (bad)
the com.apple.Bluetooth.plist file and use the value for
ControllerPowerState.
Just before looking at the plist file, I check that there is a
Bluetooth hardware to avoid looking at the file if not needed.
This is working fine but as I noted, polling is bad.
The question is:
Isn't there a way to get the Bluetooth status more dynamically with a
distributed notification, SystemConfiguration Callback or something?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden