Shijin TR
Shijin TR

Reputation: 7788

Exit roku app manually

I need to exit from my roku app from one page ,when i press a specific button.

i was try ,

  MainMenuCanvas.Clear()
  MainMenuCanvas.Close()

But it does not exit from my app.I need to go to home screen by code.is it possible? The MainMenuCanvas is an inner page comes from some other pages.

Upvotes: 1

Views: 2564

Answers (1)

TheEndless
TheEndless

Reputation: 301

You can exit the channel programmatically by issuing the End command... I usually add the following function after my RunUserInterface function, so I can call it directly from anywhere in my code.

Sub ExitUserInterface()
    End
End Sub

Upvotes: 4

Related Questions