Skip to main content

register_device_peer

Function register_device_peer 

Source
pub fn register_device_peer(
    hub: &mut SurfaceHub,
    session: &EdgeId,
    profile: &DeviceProfile,
) -> Symbol
Expand description

Registers a device edge session as a peer surface on hub.

The device profile is converted to ordinary surface capabilities before registration, so committed edits use the same SurfaceHub broadcast path as phone, desktop, and terminal panes while projecting to the device’s own profile.