Exemple #1
0
        void OnSetLinkPermissionDone(SharingLinkInfo sharingLinkInfo)
        {
            // only interactable if permission updated successfully
            MakeToggleInteractable(m_IsToggleEnabled);
            MakeCopyButtonInteractable(true);

            Dispatcher.Dispatch(SetLinkSharePermissionAction.From(sharingLinkInfo.Permission));
            Dispatcher.Dispatch(SetStatusMessage.From($"Set Access Level to: {sharingLinkInfo.Permission}"));
        }
Exemple #2
0
        void OnSharingLinkCreated(SharingLinkInfo sharingLinkInfo)
        {
            Debug.Log($"LinkSharingUIController OnSharingLinkCreated sharingLinkInfo.Permission: {sharingLinkInfo.Permission}");
            Dispatcher.Dispatch(SetLinkSharePermissionAction.From(sharingLinkInfo.Permission));

            // only interactable if link created successfully
            MakeToggleInteractable(m_IsToggleEnabled);
            MakeCopyButtonInteractable(true);
        }