react-native-wear-connectivity
Version:
Enstablish a two-way connection with wearOS
10 lines • 325 B
TypeScript
export type EventType = 'message';
type UnsubscribeFn = Function;
type CallbackFunction = (event: any) => void;
export type AddListener = (event: EventType, cb: CallbackFunction) => UnsubscribeFn;
export type WatchEvents = {
addListener: AddListener;
on: AddListener;
};
export {};
//# sourceMappingURL=types.d.ts.map