Descriptor
Declares a descriptor with the given UUID.
Sample code:
Descriptor(
uuid = <Some UUID>,
permissions = Permission.READ and Permission.WRITE,
)
Content copied to clipboard
Parameters
uuid
The UUID of the descriptor.
permissions
List of permissions of the descriptor.
Declares a descriptor with the given 16 or 32 bit short UUID.
See also
Declares a descriptor with the given UUID.
Sample code:
Descriptor(
uuid = <Some UUID>,
permission = Permission.READ,
)
Content copied to clipboard
Parameters
uuid
The UUID of the descriptor.
permission
The permission of the descriptor.