Skip to main content
Version: 1.2.x

VideoSDK Class Native Android Methods - Flutter

getInstance()

  • This method is used to get an instance of the VideoSDK class.

Returns

  • VideoSDK instance

Example

val videoSDK = VideoSDK.getInstance()

registerVideoProcessor()

  • This method is used to register your custom video processor during app initialization. It takes a string representing the unique processor name along with an instance of your processor to complete the registration.

Parameters

  • customVideoProcessorName

    • type: String
    • required: true
    • The name of the processor whose effect you wish to apply.
  • customVideoProcessorInstance

    • required: true
    • The instance of the processor whose effect you wish to apply.

Returns

  • void

Example

val customVideoProcessor = CustomVideoProcessor()
val videoSDK = VideoSDK.getInstance()
videoSDK.registerVideoProcessor("customVideoProcessorName", customVideoProcessor)

Got a Question? Ask us on discord