Apl.onUnloadWork = function(){ //イベントリスナを削除します。 AR.Camera.removeMarkerListener(Apl.listenerId, Apl.removeListenerSuccess, Apl.removeListenerError); }; // マーカー検知時のイベントリスナ削除に成功した場合に呼ばれます。 Apl.removeListenerSuccess= function(_result){ Apl.listenerId = ""; };
注意
次のOSでは、onunloadイベントは発生しません。