🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@illuminati1911
Copy link
Contributor

@illuminati1911 illuminati1911 commented Dec 8, 2025

Add support for setting generated step images type on Android

Closes: #534

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@illuminati1911 illuminati1911 force-pushed the feat/generated-step-images-type branch from aef3aa0 to 4ecfa9e Compare December 8, 2025 07:40
String toString() => 'NavInfoEvent(navInfo: $navInfo)';
}

enum GeneratedStepImagesType { none, bitmap }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be documented, and marked as Android only here as well

/// number of next steps to preview. If set to null, all available steps will
/// be returned in the [NavInfo.remainingSteps].
///
/// Optional parameter [generatedStepImagesType] can be used to set the type of
Copy link
Contributor

@jokerttu jokerttu Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention here, that this can be used with Android Auto implementation.
Can we pass these maneuver icons in navinfo to the Flutter implmentation as well? In this case it might be that we need to convert them to png on native code from bitmap?

  • Add mention that this is Android only feature

@illuminati1911 illuminati1911 force-pushed the feat/generated-step-images-type branch from 4ecfa9e to db5c76a Compare December 8, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] Android Auto Maneuver icons

2 participants