This interface consists of methods and properties supported by the Bridge Object.
interface IBridge {
// Properties
${firstDevice}: ${IDeviceConfig};
${secondDevice}: ${IDeviceConfig};
${name}: string;
// Methods
${destroy}(): void;
}
// This interface is not available in managed environment
// This interface is not available in native environment
firstDevice: ${IDeviceConfig};
// This property is not available in managed environment
// This property is not available in native environment
Returns the reference to bridge's first device configuration object.
secondDevice: ${IDeviceConfig};
// This property is not available in managed environment
// This property is not available in native environment
Returns the reference to bridge's second device configuration object.
name: string;
// This property is not available in managed environment
// This property is not available in native environment
Returns the auto-assigned bridge name.
destroy(): void;
// This method is not available in managed environment
// This method is not available in native environment
Deletes the serial bridge.