Skip to content

Commit 63cb2fb

Browse files
committed
Stub ToBase64 and SaveToFile for Android Image
Added stub implementations for Image::ToBase64 and Image::SaveToFile in the Android platform code, logging warnings and returning default values to indicate these methods are not yet implemented.
1 parent ce4ac5c commit 63cb2fb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/platform/android/image_android.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ std::string Image::GetFormat() const {
3434
return "";
3535
}
3636

37+
std::string Image::ToBase64() const {
38+
ALOGW("Image::ToBase64 not implemented on Android");
39+
return "";
40+
}
41+
42+
bool Image::SaveToFile(const std::string& file_path) const {
43+
ALOGW("Image::SaveToFile not implemented on Android");
44+
return false;
45+
}
46+
3747
void* Image::GetNativeObjectInternal() const {
3848
return nullptr;
3949
}

0 commit comments

Comments
 (0)