AgentTaskState.Icon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Icon to display in the status bar.
public Android.Graphics.Drawables.Icon Icon { [Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=37)>]
member this.Icon : Android.Graphics.Drawables.Icon
Property Value
the icon representing the current state of the agent.
- Attributes
Remarks
The icon remains the state icon until another state is sent. Use a monochrome icon so that the system can tint it for contrast.
Animations should be finite and shorter than three seconds; system limits can stop longer animations early. ShouldLoopAnimation() controls repetition. A new state can interrupt the animation when its ShouldInterruptPreviousAnimation() result is true.