// Resolve the push-to-device service from the plugin system constpushService = this.pluginSystem.findInterface(IPushToDevice.interfaceId) asimport('LensStudio:PushToDevice').IPushToDevice; if (pushService) { constspectaclesConnected = pushService.isSpectaclesConnected(); console.log('Spectacles connected:', spectaclesConnected); } else { console.log('IPushToDevice interface not available in this context.'); }
Plugin component for pushing lens effects and configurations to physical devices.
Example