Connected monitor API with Cocoa mode setting.