TvInputManager.UpdateTvInputInfo(TvInputInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the TvInputInfo
for an existing TV input.
[Android.Runtime.Register("updateTvInputInfo", "(Landroid/media/tv/TvInputInfo;)V", "", ApiSince=24)]
public void UpdateTvInputInfo (Android.Media.TV.TvInputInfo inputInfo);
[<Android.Runtime.Register("updateTvInputInfo", "(Landroid/media/tv/TvInputInfo;)V", "", ApiSince=24)>]
member this.UpdateTvInputInfo : Android.Media.TV.TvInputInfo -> unit
Parameters
- inputInfo
- TvInputInfo
The TvInputInfo
object that contains new information.
- Attributes
Remarks
Updates the TvInputInfo
for an existing TV input. A TV input service implementation may call this method to pass the application and system an up-to-date TvInputInfo
object that describes itself.
The system automatically creates a TvInputInfo
object for each TV input, based on the information collected from the AndroidManifest.xml
, thus it is not necessary to call this method unless such information has changed dynamically. Use TvInputInfo.Builder
to build a new TvInputInfo
object.
Attempting to change information about a TV input that the calling package does not own does nothing.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.