Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dynamitemedia
Binge Watcher

exit function

does anyone have a function that they use to close their channel.

any help would be very appreciated.
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
4 REPLIES 4
RokuChris
Roku Employee
Roku Employee

Re: exit function

BrightScript has a both a stop and an end command. See page 23 of the BrightScript Reference Manual.
0 Kudos
dynamitemedia
Binge Watcher

Re: exit function

chris thank you!

i had recalled a post about calling stop and it would send a message to roku.

will using the "end" do this?
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos
RokuKevin
Visitor

Re: exit function

"stop" causes the debugger to open, or a crash report to be sent to roku on a production channel.

"end", just ends your app without opening the debugger or sending crash reports.

--Kevin
0 Kudos
dynamitemedia
Binge Watcher

Re: exit function

thanks for replying Kevin. i was hoping that "end" wouldn't do any of that.
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway
0 Kudos