Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: how to cancel export?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to cancel export?



I think the pattern used in such cases is that you register a progress
callback and at the callback you either can return a boolean value to tell
the progress to stop or call directly the object that's doing the progress
and tell it to stop (does MovieExporter have some "Cancel" or "Stop" method
or something?). See Chris' book on movie progress - maybe has sample code on
the book website

> How do I cancel an export?
>
>   MovieExporter exporter = new ...
>   exporter.toFile(...)
>
> I don't see a cancel method.  Do I put the toFile() in a separate thread
> and kill the thread?  Ouch!
>
> Some user will start an export of a huge movie and want to cancel.
>
> Thanks,
>
> Ron
> email@hidden
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> QuickTime-java mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to cancel export? (From: Ron Stanonik <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.