Skip to content

Instantly share code, notes, and snippets.

@pflammertsma
Created August 7, 2020 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pflammertsma/07f4d83c31be052416fa5c636a96bf43 to your computer and use it in GitHub Desktop.
Save pflammertsma/07f4d83c31be052416fa5c636a96bf43 to your computer and use it in GitHub Desktop.
val program = PreviewProgram.Builder()
.setChannelId(channelId)
// Matches the intent filter in the manifest for VIEW action
.setIntentUri(Uri.parse("https://.../program/$id"))
.build()
helper.publishPreviewProgram(program)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment