Controls which ephemeral collaborator details may be transmitted.
- Package
@sheetwrite/core
- Source
packages/core/src/collaboration.ts#L31
Members 4
shareDisplayName
shareDisplayName?: boolean;
shareSelection
shareSelection?: boolean;
receivePresence
receivePresence?: boolean;
allowActor
allowActor?: (actor: Readonly<PresenceActorinterface PresenceActor {
id: string;
displayName?: string;
color?: string;
}interface PresenceActor {
id: string;
displayName?: string;
color?: string;
}interface PresenceActor {
id: string;
displayName?: string;
color?: string;
}Public collaborator identity attached to presence updates.API reference →>) => boolean;
Declaration
View full TypeScript declaration
export interface PresencePrivacyOptions {
shareDisplayName?: boolean;
shareSelection?: boolean;
receivePresence?: boolean;
allowActor?: (actor: Readonly<PresenceActorinterface PresenceActor {
id: string;
displayName?: string;
color?: string;
}interface PresenceActor {
id: string;
displayName?: string;
color?: string;
}interface PresenceActor {
id: string;
displayName?: string;
color?: string;
}Public collaborator identity attached to presence updates.API reference →>) => boolean;