feat(companion): expose platform connected state passthrough
This commit is contained in:
@@ -101,6 +101,10 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.connect();
|
||||
}
|
||||
|
||||
get connected(): boolean {
|
||||
return this.runtime.connected;
|
||||
}
|
||||
|
||||
disconnect(): void {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
@@ -339,6 +343,10 @@ export class IOSCompanionClient {
|
||||
return this.runtime.connect();
|
||||
}
|
||||
|
||||
get connected(): boolean {
|
||||
return this.runtime.connected;
|
||||
}
|
||||
|
||||
disconnect(): void {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
@@ -577,6 +585,10 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.connect();
|
||||
}
|
||||
|
||||
get connected(): boolean {
|
||||
return this.runtime.connected;
|
||||
}
|
||||
|
||||
disconnect(): void {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user