# Implementation in zoom for Customization

**URL:** <https://devforum.zoom.us/t/implementation-in-zoom-for-customization/71796>\
**Category:** Windows\
**Created:** [July 7, 2022, 8:06am UTC](https://devforum.zoom.us/t/implementation-in-zoom-for-customization/71796 "2022-07-07T08:06:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![testing](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/testing/32/38852_2.png) [@testing](https://devforum.zoom.us/u/testing)\
**Post date:** [July 7, 2022, 8:06am UTC](https://devforum.zoom.us/t/implementation-in-zoom-for-customization/71796/1 "2022-07-07T08:06:04Z")

</div>

Hello Team,

I am making the customize zoom using the zoom sdk environment now I am getting error this code. ZoomServiceOnInitializedChanged function is getting error during the zoom button event.

private void ZoomServiceOnInitializedChanged(object sender,bool initialized)  
{  
[//MessageBox.Show](https://MessageBox.Show)(initialized.ToString());  
try  
{  
if (initialized)  
{  
//VideoDevices=\_zoomService.  
VideoDevices = \_zoomService.EnumerateVideoDevices()?.ToList();  
if (VideoDevices != null && VideoDevices.Count \> 0)  
SelectedVideoDevice = VideoDevices.First();

```
                MicDevices = _zoomService.EnumerateMicDevices()?.ToList();
                if (MicDevices != null && MicDevices.Count > 0)
                    SelectedMicDevice = MicDevices.First();

                SpeakerDevices = _zoomService.EnumerateSpeakerDevices()?.ToList();
                if (SpeakerDevices != null && SpeakerDevices.Count > 0)
                    SelectedSpeakerDevice = SpeakerDevices.First();
            }
        }
        catch(Exception ex)
        {
            string str = ex.Message;
        }
    }

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 6, 2022, 6:06pm UTC](https://devforum.zoom.us/t/implementation-in-zoom-for-customization/71796/2 "2022-08-06T18:06:34Z")

</div>

Closed on August 6, 2022, 6:06pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
