setPath abstract method

Future<void> setPath(
  1. String path
)

Set the path of the picture capturer source.

Available since: 3.22.0 Description: Set the path of the picture capturer source. Related APIs: User can call createPictureCapturer function to create a picture capturer instance.

  • path The 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.

Implementation

Future<void> setPath(String path);