public MeetingInfo(IntPtr obj)
        {
            objPtr = obj;

            List <MeetingAttendee> csAttendees = new List <MeetingAttendee>();
            int    nAttendeesSize  = 0;
            IntPtr nAttendees      = VidyoMeetingInfoGetattendeesArrayNative(VidyoMeetingInfoGetattendeesNative(objPtr), ref nAttendeesSize);
            int    nAttendeesIndex = 0;

            while (nAttendeesIndex < nAttendeesSize)
            {
                MeetingAttendee csTattendees = new MeetingAttendee(Marshal.ReadIntPtr(nAttendees + (nAttendeesIndex * Marshal.SizeOf(nAttendees))));
                csAttendees.Add(csTattendees);
                nAttendeesIndex++;
            }

            attendees            = csAttendees;
            body                 = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetbodyNative(objPtr));
            endDateTime          = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetendDateTimeNative(objPtr));
            id                   = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetidNative(objPtr));
            isVidyoMeeting       = VidyoMeetingInfoGetisVidyoMeetingNative(objPtr);
            location             = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetlocationNative(objPtr));
            numOfAttendees       = VidyoMeetingInfoGetnumOfAttendeesNative(objPtr);
            ownerEmail           = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetownerEmailNative(objPtr));
            ownerName            = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetownerNameNative(objPtr));
            startDateTime        = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetstartDateTimeNative(objPtr));
            subject              = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetsubjectNative(objPtr));
            totalBodyLength      = VidyoMeetingInfoGettotalBodyLengthNative(objPtr);
            vidyoMeetingRoomLink = (string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(VidyoMeetingInfoGetvidyoMeetingRoomLinkNative(objPtr));
            VidyoMeetingInfoFreeattendeesArrayNative(nAttendees, nAttendeesSize);
        }
예제 #2
0
        public Boolean RespondToInvite(MeetingAttendee a, MeetingAttendee.AttendeeParticipationStatus s)
        {
            Boolean ret = VidyoMeetingRespondToInviteNative(objPtr, (a != null) ? a.GetObjectPtr():IntPtr.Zero, s);

            return(ret);
        }
예제 #3
0
        public Boolean RemoveAttendee(MeetingAttendee a)
        {
            Boolean ret = VidyoMeetingRemoveAttendeeNative(objPtr, (a != null) ? a.GetObjectPtr():IntPtr.Zero);

            return(ret);
        }