智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/18/1853b535e483c51c12bbddf7188...

12 lines
306 B

/**
* @file 摇一摇
*/
declare namespace my {
interface IWatchShakeOptions {
success(): void;
}
/**
* 摇一摇功能。每次调用API,在摇一摇手机后触发回调,如需再次监听需要再次调用这个API。
*/
function watchShake(options: IWatchShakeOptions): void;
}