logo
On this page

ZegoPictureCapturer

ZegoPictureCapturer

Declared in ZegoPictureCapturer.java

Methods

setPath

setPath
public void setPath(String path)
Set the path of the picture capturer source.
Declared in ZegoPictureCapturer.java

Parameters

NameTypeDescription
pathStringThe path of the picture. Support local picture file path (file://xxx), Android URI path (uri://xxx), asset resource path (asset://xxx). The URL length cannot exceed 512 characters.

Details

Set the path of the picture capturer source.

  • Related APIs: User can call [createPictureCapturer] function to create a picture capturer instance.
  • Available since: 3.22.0

getIndex

getIndex
public int getIndex()
Get picture capturer instance index.
Declared in ZegoPictureCapturer.java

Picture capturer instance index.

Previous

zegoperformancestatus

Next

zegoplayerconfig

On this page

Back to top