AnimationDrawable.OneShot 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.
Sets whether the animation should play once or repeat.
public virtual bool OneShot { [Android.Runtime.Register("isOneShot", "()Z", "GetIsOneShotHandler")] get; [Android.Runtime.Register("setOneShot", "(Z)V", "GetSetOneShot_ZHandler")] set; }
[<get: Android.Runtime.Register("isOneShot", "()Z", "GetIsOneShotHandler")>]
[<set: Android.Runtime.Register("setOneShot", "(Z)V", "GetSetOneShot_ZHandler")>]
member this.OneShot : bool with get, set
Property Value
True of the animation will play once, false otherwise
- Attributes
Remarks
Property getter documentation:
Java documentation for android.graphics.drawable.AnimationDrawable.isOneShot()
.
Property setter documentation:
Sets whether the animation should play once or repeat.
Java documentation for android.graphics.drawable.AnimationDrawable.setOneShot(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.