extendPowerOffBy:
- (NSInteger)extendPowerOffBy:(NSInteger)requested
func extendPowerOffBy(_ requested: Int) -> Int
解説
パワーオフまでの時間
与えられる追加のミリ秒の数を返します。
ずーっと未実装なので呼んでも無駄です。
フレームワーク
ApplicationKit
クラス
NSWorkspace
使用可能
10.0-
参照
更新時のバージョン
OS X 10.10.3
Swift1.2
例文
NSLog([NSString stringWithFormat:@"extendPowerOffBy %d",[[NSWorkspace sharedWorkspace] extendPowerOffBy:300]]);