public Boolean CreateCalendarInstance(CalendarFeedback feedback, String pluginServiceId, String calendarName, String createToken)
        {
            IntPtr  nPluginServiceId = MarshalPtrToUtf8.GetInstance().MarshalManagedToNative(pluginServiceId ?? string.Empty);
            IntPtr  nCalendarName    = MarshalPtrToUtf8.GetInstance().MarshalManagedToNative(calendarName ?? string.Empty);
            IntPtr  nCreateToken     = MarshalPtrToUtf8.GetInstance().MarshalManagedToNative(createToken ?? string.Empty);
            Boolean ret = VidyoCalendarManagerCreateCalendarInstanceNative(objPtr, (feedback != null) ? feedback.GetObjectPtr():IntPtr.Zero, nPluginServiceId, nCalendarName, nCreateToken);

            Marshal.FreeHGlobal(nCreateToken);
            Marshal.FreeHGlobal(nCalendarName);
            Marshal.FreeHGlobal(nPluginServiceId);

            return(ret);
        }
Beispiel #2
0
        public Boolean CreateCalendarInstance(CalendarFeedback feedback, String pluginServiceId, String calendarName, String createToken)
        {
            Boolean ret = VidyoCalendarManagerCreateCalendarInstanceNative(objPtr, (feedback != null) ? feedback.GetObjectPtr():IntPtr.Zero, pluginServiceId, calendarName, createToken);

            return(ret);
        }
Beispiel #3
0
        public Boolean UpdateMeeting(CalendarFeedback feedback, Meeting meeting, String createToken)
        {
            Boolean ret = VidyoCalendarUpdateMeetingNative(objPtr, (feedback != null) ? feedback.GetObjectPtr():IntPtr.Zero, (meeting != null) ? meeting.GetObjectPtr():IntPtr.Zero, createToken);

            return(ret);
        }