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); }
public Boolean RespondToInvite(MeetingAttendee a, MeetingAttendee.AttendeeParticipationStatus s) { Boolean ret = VidyoMeetingRespondToInviteNative(objPtr, (a != null) ? a.GetObjectPtr():IntPtr.Zero, s); return(ret); }
public Boolean RemoveAttendee(MeetingAttendee a) { Boolean ret = VidyoMeetingRemoveAttendeeNative(objPtr, (a != null) ? a.GetObjectPtr():IntPtr.Zero); return(ret); }