Added in Version 1.0.0
ImageParameter(source: string)
オブジェクトの初期化
ImageParameter(source: string): ImageParameter
パラメータ |
型 |
|
---|---|---|
source |
画像ソース |
画像ソースの指定方法
Base64エンコードされたコンテンツ
URI (http/https)
リソースファイル名
リソースファイル追加方法
Platform
iOS
iOSプロジェクトにリソースファイルを追加
Android
Androidプロジェクトの
android/app/src/main/res/drawable
直下にリソースファイルを追加(ファイル名には小文字とアンダースコアをご使用ください 例:my_file.png
)Windows
Windowsプロジェクトの
Assets
直下にリソースファイルを追加
注釈
画像ソースの指定にセキュアでない通信を行う場合は、アプリに以下の設定を行ってください。 * iOS: https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity * Android: https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted