PlanetKitSharedContentsControllable

@objc
public protocol PlanetKitSharedContentsControllable

A protocol that defines methods for controlling shared contents in PlanetKit.

  • Sets the shared contents with the specified data.

    Declaration

    Swift

    func setSharedContents(data: Data, completion: @escaping (Bool) -> Void)

    Parameters

    data

    The data to be set as shared contents.

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.

  • Unsets the shared contents.

    Declaration

    Swift

    func unsetSharedContents(completion: @escaping (Bool) -> Void)

    Parameters

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.

  • Sets the exclusively shared contents with the specified data.

    Declaration

    Swift

    func setExclusivelySharedContents(data: Data, completion: @escaping (Bool) -> Void)

    Parameters

    data

    The data to be set as exclusively shared contents.

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.

  • Unsets the exclusively shared contents.

    Declaration

    Swift

    func unsetExclusivelySharedContents(completion: @escaping (Bool) -> Void)

    Parameters

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.

Support At Conference Only

  • Sets the shared contents for the room with the specified data.

    Declaration

    Swift

    func setRoomSharedContents(data: Data, completion: @escaping (Bool) -> Void)

    Parameters

    data

    The data to be set as shared contents for the room.

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.

  • Unsets the shared contents for the room.

    Declaration

    Swift

    func unsetRoomSharedContents(completion: @escaping (Bool) -> Void)

    Parameters

    completion

    A closure that is called when the operation is completed. The closure takes a Boolean parameter indicating whether the operation was successful.