IMetadataProvider¶
-
interface
OCP\Calendar\
IMetadataProvider
¶ - Interface IMetadataProviderProvider for metadata of a resource or a room
Source: lib/public/Calendar/IMetadataProvider.php#33
Methods¶
-
public
OCP\Calendar\IMetadataProvider::
getAllAvailableMetadataKeys
()¶ - Get a list of all metadata keys available for this roomRoom backends are allowed to return custom keys, beyond the onesdefined in this class. If they do, they should make sure to use theirown namespace.
Source: lib/public/Calendar/IMetadataProvider.php#45 Returns: string[] - A list of available keys Since: 17.0.0
-
public
OCP\Calendar\IMetadataProvider::
hasMetadataForKey
($key)¶ - Get whether or not a metadata key is set for this room
Source: Parameters: - $key (string) - The key to check for
Returns: bool - Whether or not key is available
Since: 17.0.0
-
public
OCP\Calendar\IMetadataProvider::
getMetadataForKey
($key)¶ - Get the value for a metadata key
Source: Parameters: - $key (string) - The key to check for
Returns: string | null - The value stored for the key, null if no value stored
Since: 17.0.0