Package io.seald.seald_sdk
Class RecipientWithRights
-
- All Implemented Interfaces:
public final class RecipientWithRightsRecipientWithRight represents a recipient with associated rights. Default rights are: read: true, forward: true, revoke: false Default rights for the current user when creating an encryptionSession are read: true, forward: true, revoke: true
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrecipientIdprivate final RecipientRightsrights
-
Constructor Summary
Constructors Constructor Description RecipientWithRights(String recipientId, RecipientRights rights)
-
Method Summary
Modifier and Type Method Description final StringgetRecipientId()Internal Seald IDs. final RecipientRightsgetRights()The rights for the associated recipient ID. -
-
Constructor Detail
-
RecipientWithRights
RecipientWithRights(String recipientId, RecipientRights rights)
-
-
Method Detail
-
getRecipientId
final String getRecipientId()
Internal Seald IDs. Returned for users with sdk.getCurrentAccountInfo, for groups when creating them.
-
getRights
final RecipientRights getRights()
The rights for the associated recipient ID.
-
-
-
-