urbanairship-react-native
Version:
Airship plugin for React Native apps.
410 lines • 20.3 kB
HTML
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MessageViewProps | urbanairship-react-native</title>
<meta name="description" content="Documentation for urbanairship-react-native">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">urbanairship-react-native</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="../modules/_messageview_.html">"MessageView"</a>
</li>
<li>
<a href="_messageview_.messageviewprops.html">MessageViewProps</a>
</li>
</ul>
<h1>Interface MessageViewProps</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>MessageView props</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">MessageViewProps</span>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_messageview_.messageviewprops.html#messageid" class="tsd-kind-icon">message<wbr>Id</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_messageview_.messageviewprops.html#onclose" class="tsd-kind-icon">on<wbr>Close</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_messageview_.messageviewprops.html#onloaderror" class="tsd-kind-icon">on<wbr>Load<wbr>Error</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_messageview_.messageviewprops.html#onloadfinished" class="tsd-kind-icon">on<wbr>Load<wbr>Finished</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_messageview_.messageviewprops.html#onloadstarted" class="tsd-kind-icon">on<wbr>Load<wbr>Started</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="messageid" class="tsd-anchor"></a>
<h3>message<wbr>Id</h3>
<div class="tsd-signature tsd-kind-icon">message<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/urbanairship/react-native-airship/blob/0639739/urbanairship-react-native/js/MessageView.tsx#L117">urbanairship-react-native/js/MessageView.tsx:117</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>The message Id.</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="onclose" class="tsd-anchor"></a>
<h3>on<wbr>Close</h3>
<div class="tsd-signature tsd-kind-icon">on<wbr>Close<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageclosedevent.html" class="tsd-signature-type">MessageClosedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/urbanairship/react-native-airship/blob/0639739/urbanairship-react-native/js/MessageView.tsx#L112">urbanairship-react-native/js/MessageView.tsx:112</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A callback when the message is closed.</p>
</div>
<dl class="tsd-comment-tags">
<dt>param</dt>
<dd><p>The message closed event.</p>
</dd>
</dl>
</div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageclosedevent.html" class="tsd-signature-type">MessageClosedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="_messageview_.messageclosedevent.html" class="tsd-signature-type">MessageClosedEvent</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="onloaderror" class="tsd-anchor"></a>
<h3>on<wbr>Load<wbr>Error</h3>
<div class="tsd-signature tsd-kind-icon">on<wbr>Load<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloaderrorevent.html" class="tsd-signature-type">MessageLoadErrorEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/urbanairship/react-native-airship/blob/0639739/urbanairship-react-native/js/MessageView.tsx#L106">urbanairship-react-native/js/MessageView.tsx:106</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A callback when the view fails to load a message with an error.</p>
</div>
<dl class="tsd-comment-tags">
<dt>param</dt>
<dd><p>The message load error event.</p>
</dd>
</dl>
</div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloaderrorevent.html" class="tsd-signature-type">MessageLoadErrorEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="_messageview_.messageloaderrorevent.html" class="tsd-signature-type">MessageLoadErrorEvent</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="onloadfinished" class="tsd-anchor"></a>
<h3>on<wbr>Load<wbr>Finished</h3>
<div class="tsd-signature tsd-kind-icon">on<wbr>Load<wbr>Finished<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloadfinishedevent.html" class="tsd-signature-type">MessageLoadFinishedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/urbanairship/react-native-airship/blob/0639739/urbanairship-react-native/js/MessageView.tsx#L100">urbanairship-react-native/js/MessageView.tsx:100</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A callback when the view finishes loading a message.</p>
</div>
<dl class="tsd-comment-tags">
<dt>param</dt>
<dd><p>The message load finished event.</p>
</dd>
</dl>
</div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloadfinishedevent.html" class="tsd-signature-type">MessageLoadFinishedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="_messageview_.messageloadfinishedevent.html" class="tsd-signature-type">MessageLoadFinishedEvent</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="onloadstarted" class="tsd-anchor"></a>
<h3>on<wbr>Load<wbr>Started</h3>
<div class="tsd-signature tsd-kind-icon">on<wbr>Load<wbr>Started<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloadstartedevent.html" class="tsd-signature-type">MessageLoadStartedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/urbanairship/react-native-airship/blob/0639739/urbanairship-react-native/js/MessageView.tsx#L94">urbanairship-react-native/js/MessageView.tsx:94</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A callback when the view starts loading a message.</p>
</div>
<dl class="tsd-comment-tags">
<dt>param</dt>
<dd><p>The message load started event.</p>
</dd>
</dl>
</div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="_messageview_.messageloadstartedevent.html" class="tsd-signature-type">MessageLoadStartedEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="_messageview_.messageloadstartedevent.html" class="tsd-signature-type">MessageLoadStartedEvent</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</li>
</ul>
</div>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_attributeeditor_.html">"<wbr>Attribute<wbr>Editor"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_customevent_.html">"<wbr>Custom<wbr>Event"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_json_.html">"<wbr>Json"</a>
</li>
<li class="current tsd-kind-module">
<a href="../modules/_messageview_.html">"<wbr>Message<wbr>View"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_scopedsubscriptionlisteditor_.html">"<wbr>Scoped<wbr>Subscription<wbr>List<wbr>Editor"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_subscriptionlisteditor_.html">"<wbr>Subscription<wbr>List<wbr>Editor"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_subscriptionlists_.html">"<wbr>Subscription<wbr>Lists"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_taggroupeditor_.html">"<wbr>Tag<wbr>Group<wbr>Editor"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_uaeventemitter_.html">"UAEvent<wbr>Emitter"</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/_urbanairship_.html">"<wbr>Urban<wbr>Airship"</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-enum tsd-parent-kind-module">
<a href="../enums/_messageview_.messageloaderror.html" class="tsd-kind-icon">Message<wbr>Load<wbr>Error</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter">
<a href="../classes/_messageview_.messageview.html" class="tsd-kind-icon">Message<wbr>View</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="_messageview_.messageclosedevent.html" class="tsd-kind-icon">Message<wbr>Closed<wbr>Event</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="_messageview_.messageloaderrorevent.html" class="tsd-kind-icon">Message<wbr>Load<wbr>Error<wbr>Event</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="_messageview_.messageloadfinishedevent.html" class="tsd-kind-icon">Message<wbr>Load<wbr>Finished<wbr>Event</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="_messageview_.messageloadstartedevent.html" class="tsd-kind-icon">Message<wbr>Load<wbr>Started<wbr>Event</a>
</li>
</ul>
<ul class="current">
<li class="current tsd-kind-interface tsd-parent-kind-module">
<a href="_messageview_.messageviewprops.html" class="tsd-kind-icon">Message<wbr>View<wbr>Props</a>
<ul>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_messageview_.messageviewprops.html#messageid" class="tsd-kind-icon">message<wbr>Id</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_messageview_.messageviewprops.html#onclose" class="tsd-kind-icon">on<wbr>Close</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_messageview_.messageviewprops.html#onloaderror" class="tsd-kind-icon">on<wbr>Load<wbr>Error</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_messageview_.messageviewprops.html#onloadfinished" class="tsd-kind-icon">on<wbr>Load<wbr>Finished</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_messageview_.messageviewprops.html#onloadstarted" class="tsd-kind-icon">on<wbr>Load<wbr>Started</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported">
<a href="_messageview_.uarctmessageviewprops.html" class="tsd-kind-icon">UARCTMessage<wbr>View<wbr>Props</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
<a href="../modules/_messageview_.html#uarctmessageview" class="tsd-kind-icon">UARCTMessage<wbr>View</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>