[gapi.hangout] getStartData()

実行中のハングアウトに渡された引数を取得できます。gdパラメーターで渡されたクエリ部分を取得するので、
gadgets.views.getParams()['appData'];
と同義です。どちらを使うかはお好みです。

getStartData()を体験してみる


Start a Hangout

クリックすると上記の関数の結果ログが吐かれるだけのハングアウトが開始されます。

GoogleハングアウトAPI公式サイトからの引用

GoogleハングアウトAPI

Gets the starting data for the current active app. This is the data passed in by the gd URL parameter (also available with gadgets.views.getParams). Returns null if no start data has been specified.