Skip to content

EnableX/EnxVBiOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EnxVBiOS

EnxVBiOS is an iOS Video Virtial background designed to help developers to changes video fream backgorund.

Documentation

For API documentation, see the library's official documentation in Xcode or on the Web.

APIs Documentation

Adding EnxVBiOS as a Dependency

To use the EnxVBiOS library in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: "https://github.com/EnableX/EnxVBiOS.git", from: "1.0.0"),

How to use

Go to your class, where you wanted to implement the Video/Audio/Chat feature, import the libraray

        import EnxVBiOS

Create the objects for required SDK classes

        var enxVB : EnxVirtualBackground!

This is the object of EnxVirtualBackground class. Its will give a UIView.

How to use EnxVBiOS SDK?
You need to initiate EnxVBiOS class as code given below -

        var enxVB =  EnxVirtualBackground(enxRoom, with: self)
                
                

Function Parameters

  • EnxRoom is must be a valid EnableX Room.

  • delegate is instance of class where you receive events notifications.

  • The showVBSelection method helps user to select background resources like Color, Image etc.

                enxVB.showVBSelection(from: UIview)
                enxVB.disable()
  • UIview: Option view from where user will choose background resources.

  • closed the VB view

                enxVB.disable()

Callbacks

  • On getting Start/Stop Virtual background, following callbacks are received:

      func enxVirtualBackgroundDidUpdate(_actions : String)
    

Note: Developers must implement the above mentioned Callbacks as they are mandatory to handle. All other Callbacks, given in Developer Documentation; are optional and may be implemented if needed.

About

Enx Virtual Background SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages