kodi
LibInputRemote.h
1 /*
2  * Copyright (C) 2019- Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #import <Foundation/NSTimer.h>
10 #import <UIKit/UIEvent.h>
11 
12 @interface TVOSLibInputRemote : NSObject
13 {
14  NSTimer* m_pressAutoRepeatTimer;
15  NSTimer* m_siriRemoteIdleTimer;
16 }
17 
18 @property(nonatomic) bool siriRemoteIdleState;
19 
20 - (void)startSiriRemoteIdleTimer;
21 - (void)stopSiriRemoteIdleTimer;
22 - (void)setSiriRemoteIdleState;
23 - (void)startKeyPressTimer:(int)keyId;
24 - (void)startKeyPressTimer:(int)keyId clickTime:(NSTimeInterval)interval;
25 - (void)stopKeyPressTimer;
26 - (void)keyPressTimerCallback:(NSTimer*)theTimer;
27 - (void)remoteControlEvent:(UIEvent*)receivedEvent;
28 
29 @end
Definition: LibInputRemote.h:12