flutter_cast_framework_modern/doc/api/cast/CastDevice-class.html
2022-07-31 18:36:58 +02:00

331 lines
13 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
<meta name="description" content="API docs for the CastDevice class from the cast library, for the Dart programming language.">
<title>CastDevice class - cast library - Dart API</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="../static-assets/github.css?v1">
<link rel="stylesheet" href="../static-assets/styles.css?v1">
<link rel="icon" href="../static-assets/favicon.png?v1">
</head>
<body data-base-href="../"
data-using-base-href="false">
<div id="overlay-under-drawer"></div>
<header id="title">
<button id="sidenav-left-toggle" type="button">&nbsp;</button>
<ol class="breadcrumbs gt-separated dark hidden-xs">
<li><a href="../index.html">flutter_cast_framework</a></li>
<li><a href="../cast/cast-library.html">cast</a></li>
<li class="self-crumb">CastDevice class</li>
</ol>
<div class="self-name">CastDevice</div>
<form class="search navbar-right" role="search">
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>
<main>
<div id="dartdoc-main-content" class="main-content">
<div>
<h1><span class="kind-class">CastDevice</span> class
<a href="https://dart.dev/null-safety" class="feature feature-null-safety" title="Supports the null safety language feature.">Null safety</a>
</h1></div>
<section class="summary offset-anchor" id="constructors">
<h2>Constructors</h2>
<dl class="constructor-summary-list">
<dt id="CastDevice" class="callable">
<span class="name"><a href="../cast/CastDevice/CastDevice.html">CastDevice</a></span><span class="signature">(<span class="parameter" id="-param-deviceId">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">deviceId</span>, </span><span class="parameter" id="-param-friendlyName"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">friendlyName</span>, </span><span class="parameter" id="-param-modelName"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">modelName</span>}</span>)</span>
</dt>
<dd>
</dd>
</dl>
</section>
<section class="summary offset-anchor" id="instance-properties">
<h2>Properties</h2>
<dl class="properties">
<dt id="deviceId" class="property">
<span class="name"><a href="../cast/CastDevice/deviceId.html">deviceId</a></span>
<span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
</dt>
<dd>
<div class="features">read / write</div>
</dd>
<dt id="friendlyName" class="property">
<span class="name"><a href="../cast/CastDevice/friendlyName.html">friendlyName</a></span>
<span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
</dt>
<dd>
<div class="features">read / write</div>
</dd>
<dt id="hashCode" class="property inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
</dt>
<dd class="inherited">
The hash code for this object. <a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">[...]</a>
<div class="features">read-only, inherited</div>
</dd>
<dt id="modelName" class="property">
<span class="name"><a href="../cast/CastDevice/modelName.html">modelName</a></span>
<span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
</dt>
<dd>
<div class="features">read / write</div>
</dd>
<dt id="runtimeType" class="property inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
</dt>
<dd class="inherited">
A representation of the runtime type of the object.
<div class="features">read-only, inherited</div>
</dd>
</dl>
</section>
<section class="summary offset-anchor" id="instance-methods">
<h2>Methods</h2>
<dl class="callables">
<dt id="encode" class="callable">
<span class="name"><a href="../cast/CastDevice/encode.html">encode</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span>
</span>
</dt>
<dd>
</dd>
<dt id="noSuchMethod" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
<span class="returntype parameter">&#8594; dynamic</span>
</span>
</dt>
<dd class="inherited">
Invoked when a non-existent method or property is accessed. <a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">[...]</a>
<div class="features">inherited</div>
</dd>
<dt id="toString" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
</span>
</dt>
<dd class="inherited">
A string representation of this object. <a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">[...]</a>
<div class="features">inherited</div>
</dd>
</dl>
</section>
<section class="summary offset-anchor inherited" id="operators">
<h2>Operators</h2>
<dl class="callables">
<dt id="operator ==" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
</span>
</dt>
<dd class="inherited">
The equality operator. <a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">[...]</a>
<div class="features">inherited</div>
</dd>
</dl>
</section>
<section class="summary offset-anchor" id="static-methods">
<h2>Static Methods</h2>
<dl class="callables">
<dt id="decode" class="callable">
<span class="name"><a href="../cast/CastDevice/decode.html">decode</a></span><span class="signature">(<wbr><span class="parameter" id="decode-param-message"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">message</span></span>)
<span class="returntype parameter">&#8594; <a href="../cast/CastDevice-class.html">CastDevice</a></span>
</span>
</dt>
<dd>
</dd>
</dl>
</section>
</div> <!-- /.main-content -->
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
<header id="header-search-sidebar" class="hidden-l">
<form class="search-sidebar" role="search">
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
<li><a href="../index.html">flutter_cast_framework</a></li>
<li><a href="../cast/cast-library.html">cast</a></li>
<li class="self-crumb">CastDevice class</li>
</ol>
<h5>cast library</h5>
<ol>
<li class="section-title"><a href="../cast/cast-library.html#classes">Classes</a></li>
<li><a href="../cast/AdBreakClipInfo-class.html">AdBreakClipInfo</a></li>
<li><a href="../cast/AdBreakStatus-class.html">AdBreakStatus</a></li>
<li><a href="../cast/CastContext-class.html">CastContext</a></li>
<li><a href="../cast/CastDevice-class.html">CastDevice</a></li>
<li><a href="../cast/CastMessage-class.html">CastMessage</a></li>
<li><a href="../cast/FlutterCastFramework-class.html">FlutterCastFramework</a></li>
<li><a href="../cast/MediaInfo-class.html">MediaInfo</a></li>
<li><a href="../cast/MediaLoadRequestData-class.html">MediaLoadRequestData</a></li>
<li><a href="../cast/MediaMetadata-class.html">MediaMetadata</a></li>
<li><a href="../cast/MediaQueueItem-class.html">MediaQueueItem</a></li>
<li><a href="../cast/MediaStatus-class.html">MediaStatus</a></li>
<li><a href="../cast/MediaTrack-class.html">MediaTrack</a></li>
<li><a href="../cast/ProgressInfo-class.html">ProgressInfo</a></li>
<li><a href="../cast/RemoteMediaClient-class.html">RemoteMediaClient</a></li>
<li><a href="../cast/SessionManager-class.html">SessionManager</a></li>
<li><a href="../cast/WebImage-class.html">WebImage</a></li>
<li class="section-title"><a href="../cast/cast-library.html#enums">Enums</a></li>
<li><a href="../cast/CastState.html">CastState</a></li>
<li><a href="../cast/MediaMetadataKey.html">MediaMetadataKey</a></li>
<li><a href="../cast/MediaType.html">MediaType</a></li>
<li><a href="../cast/PlayerState.html">PlayerState</a></li>
<li><a href="../cast/SessionState.html">SessionState</a></li>
<li><a href="../cast/StreamType.html">StreamType</a></li>
<li><a href="../cast/TrackSubtype.html">TrackSubtype</a></li>
<li><a href="../cast/TrackType.html">TrackType</a></li>
<li class="section-title"><a href="../cast/cast-library.html#typedefs">Typedefs</a></li>
<li><a href="../cast/AdBreakClipProgressListener.html">AdBreakClipProgressListener</a></li>
<li><a href="../cast/MediaStatusListener.html">MediaStatusListener</a></li>
<li><a href="../cast/MessageReceivedCallback.html">MessageReceivedCallback</a></li>
<li><a href="../cast/ProgressListener.html">ProgressListener</a></li>
</ol>
</div>
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
<ol>
<li class="section-title"><a href="../cast/CastDevice-class.html#constructors">Constructors</a></li>
<li><a href="../cast/CastDevice/CastDevice.html">CastDevice</a></li>
<li class="section-title">
<a href="../cast/CastDevice-class.html#instance-properties">Properties</a>
</li>
<li><a href="../cast/CastDevice/deviceId.html">deviceId</a></li>
<li><a href="../cast/CastDevice/friendlyName.html">friendlyName</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></li>
<li><a href="../cast/CastDevice/modelName.html">modelName</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
<li class="section-title"><a href="../cast/CastDevice-class.html#instance-methods">Methods</a></li>
<li><a href="../cast/CastDevice/encode.html">encode</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></li>
<li class="section-title inherited"><a href="../cast/CastDevice-class.html#operators">Operators</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></li>
<li class="section-title"><a href="../cast/CastDevice-class.html#static-methods">Static methods</a></li>
<li><a href="../cast/CastDevice/decode.html">decode</a></li>
</ol>
</div><!--/.sidebar-offcanvas-->
</main>
<footer>
<span class="no-break">
flutter_cast_framework
0.0.1-alpha.1
</span>
</footer>
<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/script.js?v1"></script>
</body>
</html>