GoogleCastOptionsAndroid constructor

GoogleCastOptionsAndroid({
  1. required String appId,
  2. bool stopCastingOnAppTerminated = false,
})

Creates a new GoogleCastOptionsAndroid.

appId is required and specifies the Cast application ID.

stopCastingOnAppTerminated when set to true, will automatically stop casting and end the session when the app is killed/terminated. Defaults to false.

Implementation

GoogleCastOptionsAndroid({
  required this.appId,
  super.stopCastingOnAppTerminated,
});