Best JavaScript code snippet using argos
sceneform-ux.d.ts
Source:sceneform-ux.d.ts
1/// <reference path="android-declarations.d.ts" />2declare module com {3 module google {4 module ar {5 module sceneform {6 module ux {7 class ArFragment extends com.google.ar.sceneform.ux.BaseArFragment {8 static class: java.lang.Class<com.google.ar.sceneform.ux.ArFragment>;9 constructor();10 handleSessionException(param0: com.google.ar.core.exceptions.UnavailableException): void;11 getSessionFeatures(): java.util.Set<com.google.ar.core.Session.Feature>;12 getSessionConfiguration(param0: com.google.ar.core.Session): com.google.ar.core.Config;13 isArRequired(): boolean;14 getAdditionalPermissions(): native.Array<string>;15 }16 }17 }18 }19 }20}21declare module com {22 module google {23 module ar {24 module sceneform {25 module ux {26 class AugmentedFaceNode {27 static class: java.lang.Class<com.google.ar.sceneform.ux.AugmentedFaceNode>;28 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;29 getAugmentedFace(): com.google.ar.core.AugmentedFace;30 constructor();31 setAugmentedFace(param0: com.google.ar.core.AugmentedFace): void;32 setFaceRegionsRenderable(param0: com.google.ar.sceneform.rendering.ModelRenderable): void;33 onActivate(): void;34 constructor(param0: com.google.ar.core.AugmentedFace);35 getFaceMeshTexture(): com.google.ar.sceneform.rendering.Texture;36 setFaceMeshTexture(param0: com.google.ar.sceneform.rendering.Texture): void;37 getFaceMeshMaterialOverride(): com.google.ar.sceneform.rendering.Material;38 setFaceMeshMaterialOverride(param0: com.google.ar.sceneform.rendering.Material): void;39 getFaceRegionsRenderable(): com.google.ar.sceneform.rendering.ModelRenderable;40 }41 }42 }43 }44 }45}46declare module com {47 module google {48 module ar {49 module sceneform {50 module ux {51 abstract class BaseArFragment {52 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseArFragment>;53 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;54 makeTransformationSystem(): com.google.ar.sceneform.ux.TransformationSystem;55 requestInstall(): boolean;56 onRequestPermissionsResult(param0: number, param1: native.Array<string>, param2: native.Array<number>): void;57 setCanRequestDangerousPermissions(param0: java.lang.Boolean): void;58 setOnTapArPlaneListener(param0: com.google.ar.sceneform.ux.BaseArFragment.OnTapArPlaneListener): void;59 onPause(): void;60 onDestroyView(): void;61 onDestroy(): void;62 onPeekTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;63 getTransformationSystem(): com.google.ar.sceneform.ux.TransformationSystem;64 isArRequired(): boolean;65 onCreateView(param0: globalAndroid.view.LayoutInflater, param1: globalAndroid.view.ViewGroup, param2: globalAndroid.os.Bundle): globalAndroid.view.View;66 constructor();67 handleSessionException(param0: com.google.ar.core.exceptions.UnavailableException): void;68 initializeSession(): void;69 onResume(): void;70 getPlaneDiscoveryController(): com.google.ar.sceneform.ux.PlaneDiscoveryController;71 getCanRequestDangerousPermissions(): java.lang.Boolean;72 getArSceneView(): com.google.ar.sceneform.ArSceneView;73 getSessionFeatures(): java.util.Set<com.google.ar.core.Session.Feature>;74 setupSelectionRenderable(param0: com.google.ar.sceneform.ux.FootprintSelectionVisualizer): void;75 requestDangerousPermissions(): void;76 getSessionConfiguration(param0: com.google.ar.core.Session): com.google.ar.core.Config;77 onWindowFocusChanged(param0: boolean): void;78 getAdditionalPermissions(): native.Array<string>;79 }80 module BaseArFragment {81 class OnTapArPlaneListener {82 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseArFragment.OnTapArPlaneListener>;83 constructor(implementation: {84 onTapPlane(param0: com.google.ar.core.HitResult, param1: com.google.ar.core.Plane, param2: globalAndroid.view.MotionEvent): void;85 });86 constructor();87 onTapPlane(param0: com.google.ar.core.HitResult, param1: com.google.ar.core.Plane, param2: globalAndroid.view.MotionEvent): void;88 }89 }90 }91 }92 }93 }94}95declare module com {96 module google {97 module ar {98 module sceneform {99 module ux {100 abstract class BaseGesture<T> extends java.lang.Object {101 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseGesture<any>>;102 gesturePointersUtility: com.google.ar.sceneform.ux.GesturePointersUtility;103 targetNode: com.google.ar.sceneform.Node;104 inchesToPixels(param0: number): number;105 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);106 complete(): void;107 hasStarted(): boolean;108 onStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;109 cancel(): void;110 onCancel(): void;111 onTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;112 onFinish(): void;113 canStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;114 justStarted(): boolean;115 pixelsToInches(param0: number): number;116 hasFinished(): boolean;117 updateGesture(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;118 getTargetNode(): com.google.ar.sceneform.Node;119 setGestureEventListener(param0: com.google.ar.sceneform.ux.BaseGesture.OnGestureEventListener<T>): void;120 wasCancelled(): boolean;121 getSelf(): T;122 }123 module BaseGesture {124 class OnGestureEventListener<T> extends java.lang.Object {125 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseGesture.OnGestureEventListener<any>>;126 constructor(implementation: {127 onUpdated(param0: T): void;128 onFinished(param0: T): void;129 });130 constructor();131 onFinished(param0: T): void;132 onUpdated(param0: T): void;133 }134 }135 }136 }137 }138 }139}140declare module com {141 module google {142 module ar {143 module sceneform {144 module ux {145 abstract class BaseGestureRecognizer<T> extends java.lang.Object {146 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseGestureRecognizer<any>>;147 gesturePointersUtility: com.google.ar.sceneform.ux.GesturePointersUtility;148 gestures: java.util.ArrayList<T>;149 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);150 removeOnGestureStartedListener(param0: com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<T>): void;151 tryCreateGestures(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;152 onTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;153 addOnGestureStartedListener(param0: com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<T>): void;154 }155 module BaseGestureRecognizer {156 class OnGestureStartedListener<T> extends java.lang.Object {157 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<any>>;158 constructor(implementation: {159 onGestureStarted(param0: T): void;160 });161 constructor();162 onGestureStarted(param0: T): void;163 }164 }165 }166 }167 }168 }169}170declare module com {171 module google {172 module ar {173 module sceneform {174 module ux {175 abstract class BaseTransformableNode extends com.google.ar.sceneform.Node {176 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseTransformableNode>;177 isTransforming(): boolean;178 onTap(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;179 removeTransformationController(param0: com.google.ar.sceneform.ux.BaseTransformationController<any>): void;180 constructor(param0: com.google.ar.sceneform.ux.TransformationSystem);181 isSelected(): boolean;182 getTransformationSystem(): com.google.ar.sceneform.ux.TransformationSystem;183 addTransformationController(param0: com.google.ar.sceneform.ux.BaseTransformationController<any>): void;184 select(): boolean;185 }186 }187 }188 }189 }190}191declare module com {192 module google {193 module ar {194 module sceneform {195 module ux {196 abstract class BaseTransformationController<T> extends java.lang.Object {197 static class: java.lang.Class<com.google.ar.sceneform.ux.BaseTransformationController<any>>;198 onEndTransformation(param0: T): void;199 onContinueTransformation(param0: T): void;200 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;201 canStartTransformation(param0: T): boolean;202 onGestureStarted(param0: T): void;203 isEnabled(): boolean;204 setEnabled(param0: boolean): void;205 onFinished(param0: T): void;206 onActivated(param0: com.google.ar.sceneform.Node): void;207 isTransforming(): boolean;208 getActiveGesture(): T;209 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.BaseGestureRecognizer<T>);210 onUpdated(param0: T): void;211 onDeactivated(param0: com.google.ar.sceneform.Node): void;212 getTransformableNode(): com.google.ar.sceneform.ux.BaseTransformableNode;213 }214 }215 }216 }217 }218}219declare module com {220 module google {221 module ar {222 module sceneform {223 module ux {224 class DragGesture extends com.google.ar.sceneform.ux.BaseGesture<com.google.ar.sceneform.ux.DragGesture> {225 static class: java.lang.Class<com.google.ar.sceneform.ux.DragGesture>;226 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);227 getSelf(): com.google.ar.sceneform.ux.DragGesture;228 onStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;229 updateGesture(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;230 onCancel(): void;231 getSelf(): any;232 onFinish(): void;233 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility, param1: com.google.ar.sceneform.HitTestResult, param2: globalAndroid.view.MotionEvent);234 canStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;235 getDelta(): com.google.ar.sceneform.math.Vector3;236 getPosition(): com.google.ar.sceneform.math.Vector3;237 }238 module DragGesture {239 class OnGestureEventListener extends com.google.ar.sceneform.ux.BaseGesture.OnGestureEventListener<com.google.ar.sceneform.ux.DragGesture> {240 static class: java.lang.Class<com.google.ar.sceneform.ux.DragGesture.OnGestureEventListener>;241 constructor(implementation: {242 onUpdated(param0: any): void;243 onFinished(param0: any): void;244 });245 constructor();246 onUpdated(param0: any): void;247 onFinished(param0: any): void;248 }249 }250 }251 }252 }253 }254}255declare module com {256 module google {257 module ar {258 module sceneform {259 module ux {260 class DragGestureRecognizer extends com.google.ar.sceneform.ux.BaseGestureRecognizer<com.google.ar.sceneform.ux.DragGesture> {261 static class: java.lang.Class<com.google.ar.sceneform.ux.DragGestureRecognizer>;262 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);263 tryCreateGestures(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;264 }265 module DragGestureRecognizer {266 class OnGestureStartedListener extends com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<com.google.ar.sceneform.ux.DragGesture> {267 static class: java.lang.Class<com.google.ar.sceneform.ux.DragGestureRecognizer.OnGestureStartedListener>;268 constructor(implementation: {269 onGestureStarted(param0: any): void;270 });271 constructor();272 onGestureStarted(param0: any): void;273 }274 }275 }276 }277 }278 }279}280declare module com {281 module google {282 module ar {283 module sceneform {284 module ux {285 class FootprintSelectionVisualizer extends com.google.ar.sceneform.ux.SelectionVisualizer {286 static class: java.lang.Class<com.google.ar.sceneform.ux.FootprintSelectionVisualizer>;287 applySelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;288 constructor();289 removeSelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;290 setFootprintRenderable(param0: com.google.ar.sceneform.rendering.ModelRenderable): void;291 getFootprintRenderable(): com.google.ar.sceneform.rendering.ModelRenderable;292 }293 }294 }295 }296 }297}298declare module com {299 module google {300 module ar {301 module sceneform {302 module ux {303 class GesturePointersUtility {304 static class: java.lang.Class<com.google.ar.sceneform.ux.GesturePointersUtility>;305 constructor(param0: globalAndroid.util.DisplayMetrics);306 releasePointerId(param0: number): void;307 inchesToPixels(param0: number): number;308 pixelsToInches(param0: number): number;309 static motionEventToPosition(param0: globalAndroid.view.MotionEvent, param1: number): com.google.ar.sceneform.math.Vector3;310 isPointerIdRetained(param0: number): boolean;311 retainPointerId(param0: number): void;312 }313 }314 }315 }316 }317}318declare module com {319 module google {320 module ar {321 module sceneform {322 module ux {323 class HandMotionAnimation {324 static class: java.lang.Class<com.google.ar.sceneform.ux.HandMotionAnimation>;325 applyTransformation(param0: number, param1: globalAndroid.view.animation.Transformation): void;326 constructor(param0: globalAndroid.view.View, param1: globalAndroid.view.View);327 }328 }329 }330 }331 }332}333declare module com {334 module google {335 module ar {336 module sceneform {337 module ux {338 class HandMotionView {339 static class: java.lang.Class<com.google.ar.sceneform.ux.HandMotionView>;340 constructor(param0: globalAndroid.content.Context);341 onAttachedToWindow(): void;342 constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet);343 }344 }345 }346 }347 }348}349declare module com {350 module google {351 module ar {352 module sceneform {353 module ux {354 class PinchGesture extends com.google.ar.sceneform.ux.BaseGesture<com.google.ar.sceneform.ux.PinchGesture> {355 static class: java.lang.Class<com.google.ar.sceneform.ux.PinchGesture>;356 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);357 gapDeltaInches(): number;358 cancel(): void;359 onStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;360 onCancel(): void;361 getSelf(): any;362 getGapDelta(): number;363 onFinish(): void;364 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility, param1: globalAndroid.view.MotionEvent, param2: number);365 canStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;366 getGap(): number;367 gapInches(): number;368 updateGesture(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;369 getSelf(): com.google.ar.sceneform.ux.PinchGesture;370 }371 module PinchGesture {372 class OnGestureEventListener extends com.google.ar.sceneform.ux.BaseGesture.OnGestureEventListener<com.google.ar.sceneform.ux.PinchGesture> {373 static class: java.lang.Class<com.google.ar.sceneform.ux.PinchGesture.OnGestureEventListener>;374 constructor(implementation: {375 onUpdated(param0: any): void;376 onFinished(param0: any): void;377 });378 constructor();379 onUpdated(param0: any): void;380 onFinished(param0: any): void;381 }382 }383 }384 }385 }386 }387}388declare module com {389 module google {390 module ar {391 module sceneform {392 module ux {393 class PinchGestureRecognizer extends com.google.ar.sceneform.ux.BaseGestureRecognizer<com.google.ar.sceneform.ux.PinchGesture> {394 static class: java.lang.Class<com.google.ar.sceneform.ux.PinchGestureRecognizer>;395 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);396 tryCreateGestures(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;397 }398 module PinchGestureRecognizer {399 class OnGestureStartedListener extends com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<com.google.ar.sceneform.ux.PinchGesture> {400 static class: java.lang.Class<com.google.ar.sceneform.ux.PinchGestureRecognizer.OnGestureStartedListener>;401 constructor(implementation: {402 onGestureStarted(param0: any): void;403 });404 constructor();405 onGestureStarted(param0: any): void;406 }407 }408 }409 }410 }411 }412}413declare module com {414 module google {415 module ar {416 module sceneform {417 module ux {418 class PlaneDiscoveryController {419 static class: java.lang.Class<com.google.ar.sceneform.ux.PlaneDiscoveryController>;420 setInstructionView(param0: globalAndroid.view.View): void;421 show(): void;422 constructor(param0: globalAndroid.view.View);423 hide(): void;424 }425 }426 }427 }428 }429}430declare module com {431 module google {432 module ar {433 module sceneform {434 module ux {435 class RotationController extends com.google.ar.sceneform.ux.BaseTransformationController<com.google.ar.sceneform.ux.TwistGesture> {436 static class: java.lang.Class<com.google.ar.sceneform.ux.RotationController>;437 canStartTransformation(param0: com.google.ar.sceneform.ux.TwistGesture): boolean;438 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;439 onGestureStarted(param0: any): void;440 onFinished(param0: any): void;441 onEndTransformation(param0: any): void;442 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.TwistGestureRecognizer);443 onEndTransformation(param0: com.google.ar.sceneform.ux.TwistGesture): void;444 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.BaseGestureRecognizer<any>);445 onContinueTransformation(param0: any): void;446 getRotationRateDegrees(): number;447 setRotationRateDegrees(param0: number): void;448 onContinueTransformation(param0: com.google.ar.sceneform.ux.TwistGesture): void;449 onUpdated(param0: any): void;450 canStartTransformation(param0: any): boolean;451 }452 }453 }454 }455 }456}457declare module com {458 module google {459 module ar {460 module sceneform {461 module ux {462 class ScaleController extends com.google.ar.sceneform.ux.BaseTransformationController<com.google.ar.sceneform.ux.PinchGesture> {463 static class: java.lang.Class<com.google.ar.sceneform.ux.ScaleController>;464 static DEFAULT_MIN_SCALE: number;465 static DEFAULT_MAX_SCALE: number;466 static DEFAULT_SENSITIVITY: number;467 static DEFAULT_ELASTICITY: number;468 setMinScale(param0: number): void;469 setSensitivity(param0: number): void;470 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;471 setMaxScale(param0: number): void;472 onGestureStarted(param0: any): void;473 onFinished(param0: any): void;474 canStartTransformation(param0: com.google.ar.sceneform.ux.PinchGesture): boolean;475 getMaxScale(): number;476 getMinScale(): number;477 getElasticity(): number;478 onEndTransformation(param0: any): void;479 onActivated(param0: com.google.ar.sceneform.Node): void;480 onContinueTransformation(param0: com.google.ar.sceneform.ux.PinchGesture): void;481 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.BaseGestureRecognizer<any>);482 onContinueTransformation(param0: any): void;483 onEndTransformation(param0: com.google.ar.sceneform.ux.PinchGesture): void;484 getSensitivity(): number;485 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.PinchGestureRecognizer);486 setElasticity(param0: number): void;487 onUpdated(param0: any): void;488 canStartTransformation(param0: any): boolean;489 }490 }491 }492 }493 }494}495declare module com {496 module google {497 module ar {498 module sceneform {499 module ux {500 class SelectionVisualizer {501 static class: java.lang.Class<com.google.ar.sceneform.ux.SelectionVisualizer>;502 constructor(implementation: {503 applySelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;504 removeSelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;505 });506 constructor();507 applySelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;508 removeSelectionVisual(param0: com.google.ar.sceneform.ux.BaseTransformableNode): void;509 }510 }511 }512 }513 }514}515declare module com {516 module google {517 module ar {518 module sceneform {519 module ux {520 class TransformableNode extends com.google.ar.sceneform.ux.BaseTransformableNode {521 static class: java.lang.Class<com.google.ar.sceneform.ux.TransformableNode>;522 getTranslationController(): com.google.ar.sceneform.ux.TranslationController;523 constructor(param0: com.google.ar.sceneform.ux.TransformationSystem);524 getScaleController(): com.google.ar.sceneform.ux.ScaleController;525 getRotationController(): com.google.ar.sceneform.ux.RotationController;526 }527 }528 }529 }530 }531}532declare module com {533 module google {534 module ar {535 module sceneform {536 module ux {537 class TransformationSystem {538 static class: java.lang.Class<com.google.ar.sceneform.ux.TransformationSystem>;539 getSelectionVisualizer(): com.google.ar.sceneform.ux.SelectionVisualizer;540 getTwistRecognizer(): com.google.ar.sceneform.ux.TwistGestureRecognizer;541 setSelectionVisualizer(param0: com.google.ar.sceneform.ux.SelectionVisualizer): void;542 getSelectedNode(): com.google.ar.sceneform.ux.BaseTransformableNode;543 getDragRecognizer(): com.google.ar.sceneform.ux.DragGestureRecognizer;544 onTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;545 addGestureRecognizer(param0: com.google.ar.sceneform.ux.BaseGestureRecognizer<any>): void;546 selectNode(param0: com.google.ar.sceneform.ux.BaseTransformableNode): boolean;547 getGesturePointersUtility(): com.google.ar.sceneform.ux.GesturePointersUtility;548 constructor(param0: globalAndroid.util.DisplayMetrics, param1: com.google.ar.sceneform.ux.SelectionVisualizer);549 getPinchRecognizer(): com.google.ar.sceneform.ux.PinchGestureRecognizer;550 }551 }552 }553 }554 }555}556declare module com {557 module google {558 module ar {559 module sceneform {560 module ux {561 class TranslationController extends com.google.ar.sceneform.ux.BaseTransformationController<com.google.ar.sceneform.ux.DragGesture> {562 static class: java.lang.Class<com.google.ar.sceneform.ux.TranslationController>;563 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.DragGestureRecognizer);564 setAllowedPlaneTypes(param0: java.util.EnumSet<com.google.ar.core.Plane.Type>): void;565 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;566 onGestureStarted(param0: any): void;567 onEndTransformation(param0: com.google.ar.sceneform.ux.DragGesture): void;568 onFinished(param0: any): void;569 canStartTransformation(param0: com.google.ar.sceneform.ux.DragGesture): boolean;570 onEndTransformation(param0: any): void;571 onContinueTransformation(param0: com.google.ar.sceneform.ux.DragGesture): void;572 isTransforming(): boolean;573 getAllowedPlaneTypes(): java.util.EnumSet<com.google.ar.core.Plane.Type>;574 constructor(param0: com.google.ar.sceneform.ux.BaseTransformableNode, param1: com.google.ar.sceneform.ux.BaseGestureRecognizer<any>);575 onContinueTransformation(param0: any): void;576 onUpdated(param0: any): void;577 canStartTransformation(param0: any): boolean;578 }579 }580 }581 }582 }583}584declare module com {585 module google {586 module ar {587 module sceneform {588 module ux {589 class TwistGesture extends com.google.ar.sceneform.ux.BaseGesture<com.google.ar.sceneform.ux.TwistGesture> {590 static class: java.lang.Class<com.google.ar.sceneform.ux.TwistGesture>;591 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);592 getSelf(): com.google.ar.sceneform.ux.TwistGesture;593 getDeltaRotationDegrees(): number;594 onStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;595 updateGesture(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;596 onCancel(): void;597 getSelf(): any;598 onFinish(): void;599 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility, param1: globalAndroid.view.MotionEvent, param2: number);600 canStart(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;601 }602 module TwistGesture {603 class OnGestureEventListener extends com.google.ar.sceneform.ux.BaseGesture.OnGestureEventListener<com.google.ar.sceneform.ux.TwistGesture> {604 static class: java.lang.Class<com.google.ar.sceneform.ux.TwistGesture.OnGestureEventListener>;605 constructor(implementation: {606 onUpdated(param0: any): void;607 onFinished(param0: any): void;608 });609 constructor();610 onUpdated(param0: any): void;611 onFinished(param0: any): void;612 }613 }614 }615 }616 }617 }618}619declare module com {620 module google {621 module ar {622 module sceneform {623 module ux {624 class TwistGestureRecognizer extends com.google.ar.sceneform.ux.BaseGestureRecognizer<com.google.ar.sceneform.ux.TwistGesture> {625 static class: java.lang.Class<com.google.ar.sceneform.ux.TwistGestureRecognizer>;626 constructor(param0: com.google.ar.sceneform.ux.GesturePointersUtility);627 tryCreateGestures(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;628 }629 module TwistGestureRecognizer {630 class OnGestureStartedListener extends com.google.ar.sceneform.ux.BaseGestureRecognizer.OnGestureStartedListener<com.google.ar.sceneform.ux.TwistGesture> {631 static class: java.lang.Class<com.google.ar.sceneform.ux.TwistGestureRecognizer.OnGestureStartedListener>;632 constructor(implementation: {633 onGestureStarted(param0: any): void;634 });635 constructor();636 onGestureStarted(param0: any): void;637 }638 }639 }640 }641 }642 }...
sceneform-core.d.ts
Source:sceneform-core.d.ts
1/// <reference path="android-declarations.d.ts" />2declare module com {3 module google {4 module ar {5 module sceneform {6 class AnchorNode extends com.google.ar.sceneform.Node {7 static class: java.lang.Class<com.google.ar.sceneform.AnchorNode>;8 isTracking(): boolean;9 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;10 getAnchor(): com.google.ar.core.Anchor;11 setWorldPosition(param0: com.google.ar.sceneform.math.Vector3): void;12 setAnchor(param0: com.google.ar.core.Anchor): void;13 constructor();14 setLocalRotation(param0: com.google.ar.sceneform.math.Quaternion): void;15 constructor(param0: com.google.ar.core.Anchor);16 isSmoothed(): boolean;17 setWorldRotation(param0: com.google.ar.sceneform.math.Quaternion): void;18 setSmoothed(param0: boolean): void;19 setLocalPosition(param0: com.google.ar.sceneform.math.Vector3): void;20 }21 }22 }23 }24}25declare module com {26 module google {27 module ar {28 module sceneform {29 class ArSceneView extends com.google.ar.sceneform.SceneView {30 static class: java.lang.Class<com.google.ar.sceneform.ArSceneView>;31 getPlaneRenderer(): com.google.ar.sceneform.rendering.PlaneRenderer;32 getArFrame(): com.google.ar.core.Frame;33 isLightDirectionUpdateEnabled(): boolean;34 isEnvironmentalHdrLightingAvailable(): boolean;35 getCameraStreamRenderPriority(): number;36 setLightDirectionUpdateEnabled(param0: boolean): void;37 resumeAsync(param0: java.util.concurrent.Executor): java.util.concurrent.CompletableFuture<java.lang.Void>;38 pauseAsync(param0: java.util.concurrent.Executor): java.util.concurrent.CompletableFuture<java.lang.Void>;39 constructor(param0: globalAndroid.content.Context);40 constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet);41 setLightEstimationEnabled(param0: boolean): void;42 pause(): void;43 getSession(): com.google.ar.core.Session;44 resume(): void;45 isLightEstimationEnabled(): boolean;46 onLayout(param0: boolean, param1: number, param2: number, param3: number, param4: number): void;47 setCameraStreamRenderPriority(param0: number): void;48 setupSession(param0: com.google.ar.core.Session): void;49 onBeginFrame(param0: number): boolean;50 }51 }52 }53 }54}55declare module com {56 module google {57 module ar {58 module sceneform {59 class Camera extends com.google.ar.sceneform.Node {60 static class: java.lang.Class<com.google.ar.sceneform.Camera>;61 getFarClipPlane(): number;62 setWorldPosition(param0: com.google.ar.sceneform.math.Vector3): void;63 updateTrackedPose(param0: com.google.ar.core.Camera): void;64 screenPointToRay(param0: number, param1: number): com.google.ar.sceneform.collision.Ray;65 setLocalRotation(param0: com.google.ar.sceneform.math.Quaternion): void;66 setFarClipPlane(param0: number): void;67 getProjectionMatrix(): com.google.ar.sceneform.math.Matrix;68 getNearClipPlane(): number;69 setLocalPosition(param0: com.google.ar.sceneform.math.Vector3): void;70 setParent(param0: com.google.ar.sceneform.NodeParent): void;71 getViewMatrix(): com.google.ar.sceneform.math.Matrix;72 setProjectionMatrix(param0: com.google.ar.sceneform.math.Matrix): void;73 worldToScreenPoint(param0: com.google.ar.sceneform.math.Vector3): com.google.ar.sceneform.math.Vector3;74 setWorldRotation(param0: com.google.ar.sceneform.math.Quaternion): void;75 setNearClipPlane(param0: number): void;76 }77 }78 }79 }80}81declare module com {82 module google {83 module ar {84 module sceneform {85 class FrameTime {86 static class: java.lang.Class<com.google.ar.sceneform.FrameTime>;87 getStartSeconds(): number;88 getStartTime(param0: java.util.concurrent.TimeUnit): number;89 getDeltaSeconds(): number;90 getDeltaTime(param0: java.util.concurrent.TimeUnit): number;91 }92 }93 }94 }95}96declare module com {97 module google {98 module ar {99 module sceneform {100 class HitTestResult {101 static class: java.lang.Class<com.google.ar.sceneform.HitTestResult>;102 reset(): void;103 constructor();104 set(param0: com.google.ar.sceneform.HitTestResult): void;105 getNode(): com.google.ar.sceneform.Node;106 setNode(param0: com.google.ar.sceneform.Node): void;107 }108 }109 }110 }111}112declare module com {113 module google {114 module ar {115 module sceneform {116 class Node extends com.google.ar.sceneform.NodeParent {117 static class: java.lang.Class<com.google.ar.sceneform.Node>;118 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;119 setCollisionShape(param0: com.google.ar.sceneform.collision.CollisionShape): void;120 setWorldPosition(param0: com.google.ar.sceneform.math.Vector3): void;121 getDown(): com.google.ar.sceneform.math.Vector3;122 getLight(): com.google.ar.sceneform.rendering.Light;123 getWorldModelMatrix(): com.google.ar.sceneform.math.Matrix;124 setLocalRotation(param0: com.google.ar.sceneform.math.Quaternion): void;125 localToWorldDirection(param0: com.google.ar.sceneform.math.Vector3): com.google.ar.sceneform.math.Vector3;126 callOnHierarchy(param0: any): void;127 setParent(param0: com.google.ar.sceneform.NodeParent): void;128 worldToLocalPoint(param0: com.google.ar.sceneform.math.Vector3): com.google.ar.sceneform.math.Vector3;129 addLifecycleListener(param0: com.google.ar.sceneform.Node.LifecycleListener): void;130 constructor();131 getLeft(): com.google.ar.sceneform.math.Vector3;132 onRemoveChild(param0: com.google.ar.sceneform.Node): void;133 isEnabled(): boolean;134 getRight(): com.google.ar.sceneform.math.Vector3;135 setEnabled(param0: boolean): void;136 setLookDirection(param0: com.google.ar.sceneform.math.Vector3): void;137 getWorldRotation(): com.google.ar.sceneform.math.Quaternion;138 getForward(): com.google.ar.sceneform.math.Vector3;139 onTouchEvent(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;140 setName(param0: string): void;141 isActive(): boolean;142 setOnTouchListener(param0: com.google.ar.sceneform.Node.OnTouchListener): void;143 getUp(): com.google.ar.sceneform.math.Vector3;144 setLookDirection(param0: com.google.ar.sceneform.math.Vector3, param1: com.google.ar.sceneform.math.Vector3): void;145 setLight(param0: com.google.ar.sceneform.rendering.Light): void;146 setLocalScale(param0: com.google.ar.sceneform.math.Vector3): void;147 isTopLevel(): boolean;148 getWorldPosition(): com.google.ar.sceneform.math.Vector3;149 getRenderable(): com.google.ar.sceneform.rendering.Renderable;150 isDescendantOf(param0: com.google.ar.sceneform.NodeParent): boolean;151 setWorldScale(param0: com.google.ar.sceneform.math.Vector3): void;152 worldToLocalDirection(param0: com.google.ar.sceneform.math.Vector3): com.google.ar.sceneform.math.Vector3;153 setRenderable(param0: com.google.ar.sceneform.rendering.Renderable): void;154 setLocalPosition(param0: com.google.ar.sceneform.math.Vector3): void;155 onDeactivate(): void;156 toString(): string;157 addTransformChangedListener(param0: com.google.ar.sceneform.Node.TransformChangedListener): void;158 getWorldScale(): com.google.ar.sceneform.math.Vector3;159 getScene(): com.google.ar.sceneform.Scene;160 setWorldRotation(param0: com.google.ar.sceneform.math.Quaternion): void;161 localToWorldPoint(param0: com.google.ar.sceneform.math.Vector3): com.google.ar.sceneform.math.Vector3;162 getParent(): com.google.ar.sceneform.Node;163 findInHierarchy(param0: any): com.google.ar.sceneform.Node;164 getLocalRotation(): com.google.ar.sceneform.math.Quaternion;165 getLocalScale(): com.google.ar.sceneform.math.Vector3;166 getCollisionShape(): com.google.ar.sceneform.collision.CollisionShape;167 onTransformChange(param0: com.google.ar.sceneform.Node): void;168 onActivate(): void;169 removeLifecycleListener(param0: com.google.ar.sceneform.Node.LifecycleListener): void;170 canAddChild(param0: com.google.ar.sceneform.Node, param1: java.lang.StringBuilder): boolean;171 getName(): string;172 setOnTapListener(param0: com.google.ar.sceneform.Node.OnTapListener): void;173 onAddChild(param0: com.google.ar.sceneform.Node): void;174 getBack(): com.google.ar.sceneform.math.Vector3;175 removeTransformChangedListener(param0: com.google.ar.sceneform.Node.TransformChangedListener): void;176 getLocalPosition(): com.google.ar.sceneform.math.Vector3;177 }178 module Node {179 class LifecycleListener {180 static class: java.lang.Class<com.google.ar.sceneform.Node.LifecycleListener>;181 constructor(implementation: {182 onActivated(param0: com.google.ar.sceneform.Node): void;183 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;184 onDeactivated(param0: com.google.ar.sceneform.Node): void;185 });186 constructor();187 onUpdated(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.FrameTime): void;188 onDeactivated(param0: com.google.ar.sceneform.Node): void;189 onActivated(param0: com.google.ar.sceneform.Node): void;190 }191 class OnTapListener {192 static class: java.lang.Class<com.google.ar.sceneform.Node.OnTapListener>;193 constructor(implementation: {194 onTap(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;195 });196 constructor();197 onTap(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;198 }199 class OnTouchListener {200 static class: java.lang.Class<com.google.ar.sceneform.Node.OnTouchListener>;201 constructor(implementation: {202 onTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;203 });204 constructor();205 onTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;206 }207 class TapTrackingData {208 static class: java.lang.Class<com.google.ar.sceneform.Node.TapTrackingData>;209 }210 class TransformChangedListener {211 static class: java.lang.Class<com.google.ar.sceneform.Node.TransformChangedListener>;212 constructor(implementation: {213 onTransformChanged(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.Node): void;214 });215 constructor();216 onTransformChanged(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.Node): void;217 }218 }219 }220 }221 }222}223declare module com {224 module google {225 module ar {226 module sceneform {227 class NodeParent {228 static class: java.lang.Class<com.google.ar.sceneform.NodeParent>;229 findInHierarchy(param0: any): com.google.ar.sceneform.Node;230 canAddChild(param0: com.google.ar.sceneform.Node, param1: java.lang.StringBuilder): boolean;231 constructor();232 findByName(param0: string): com.google.ar.sceneform.Node;233 removeChild(param0: com.google.ar.sceneform.Node): void;234 onAddChild(param0: com.google.ar.sceneform.Node): void;235 onRemoveChild(param0: com.google.ar.sceneform.Node): void;236 getChildren(): java.util.List<com.google.ar.sceneform.Node>;237 callOnHierarchy(param0: any): void;238 addChild(param0: com.google.ar.sceneform.Node): void;239 }240 }241 }242 }243}244declare module com {245 module google {246 module ar {247 module sceneform {248 class Scene extends com.google.ar.sceneform.NodeParent {249 static class: java.lang.Class<com.google.ar.sceneform.Scene>;250 getView(): com.google.ar.sceneform.SceneView;251 hitTestAll(param0: com.google.ar.sceneform.collision.Ray): java.util.ArrayList<com.google.ar.sceneform.HitTestResult>;252 addOnUpdateListener(param0: com.google.ar.sceneform.Scene.OnUpdateListener): void;253 hitTest(param0: globalAndroid.view.MotionEvent): com.google.ar.sceneform.HitTestResult;254 setOnTouchListener(param0: com.google.ar.sceneform.Scene.OnTouchListener): void;255 getLightProbe(): com.google.ar.sceneform.rendering.LightProbe;256 overlapTest(param0: com.google.ar.sceneform.Node): com.google.ar.sceneform.Node;257 hitTest(param0: com.google.ar.sceneform.collision.Ray): com.google.ar.sceneform.HitTestResult;258 constructor(param0: com.google.ar.sceneform.SceneView);259 addOnPeekTouchListener(param0: com.google.ar.sceneform.Scene.OnPeekTouchListener): void;260 setLightProbe(param0: com.google.ar.sceneform.rendering.LightProbe): void;261 getSunlight(): com.google.ar.sceneform.Node;262 overlapTestAll(param0: com.google.ar.sceneform.Node): java.util.ArrayList<com.google.ar.sceneform.Node>;263 removeOnUpdateListener(param0: com.google.ar.sceneform.Scene.OnUpdateListener): void;264 constructor();265 setLightEstimate(param0: com.google.ar.sceneform.rendering.Color, param1: number): void;266 onAddChild(param0: com.google.ar.sceneform.Node): void;267 onRemoveChild(param0: com.google.ar.sceneform.Node): void;268 hitTestAll(param0: globalAndroid.view.MotionEvent): java.util.ArrayList<com.google.ar.sceneform.HitTestResult>;269 getCamera(): com.google.ar.sceneform.Camera;270 removeOnPeekTouchListener(param0: com.google.ar.sceneform.Scene.OnPeekTouchListener): void;271 }272 module Scene {273 class OnPeekTouchListener {274 static class: java.lang.Class<com.google.ar.sceneform.Scene.OnPeekTouchListener>;275 constructor(implementation: {276 onPeekTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;277 });278 constructor();279 onPeekTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;280 }281 class OnTouchListener {282 static class: java.lang.Class<com.google.ar.sceneform.Scene.OnTouchListener>;283 constructor(implementation: {284 onSceneTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;285 });286 constructor();287 onSceneTouch(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): boolean;288 }289 class OnUpdateListener {290 static class: java.lang.Class<com.google.ar.sceneform.Scene.OnUpdateListener>;291 constructor(implementation: {292 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;293 });294 constructor();295 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;296 }297 }298 }299 }300 }301}302declare module com {303 module google {304 module ar {305 module sceneform {306 class SceneView extends android.view.SurfaceView {307 static class: java.lang.Class<com.google.ar.sceneform.SceneView>;308 static reclaimReleasedResources(): number;309 isDebugEnabled(): boolean;310 doFrame(param0: number): void;311 getRenderer(): com.google.ar.sceneform.rendering.Renderer;312 stopMirroringToSurface(param0: globalAndroid.view.Surface): void;313 constructor(param0: globalAndroid.content.Context);314 constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet);315 static destroyAllResources(): void;316 destroy(): void;317 pause(): void;318 resume(): void;319 setBackground(param0: globalAndroid.graphics.drawable.Drawable): void;320 onLayout(param0: boolean, param1: number, param2: number, param3: number, param4: number): void;321 onTouchEvent(param0: globalAndroid.view.MotionEvent): boolean;322 getScene(): com.google.ar.sceneform.Scene;323 startMirroringToSurface(param0: globalAndroid.view.Surface, param1: number, param2: number, param3: number, param4: number): void;324 enableDebug(param0: boolean): void;325 onBeginFrame(param0: number): boolean;326 }327 }328 }329 }330}331declare module com {332 module google {333 module ar {334 module sceneform {335 class SequentialTask {336 static class: java.lang.Class<com.google.ar.sceneform.SequentialTask>;337 a(param0: java.lang.Runnable, param1: java.util.concurrent.Executor): java.util.concurrent.CompletableFuture<java.lang.Void>;338 a(): boolean;339 }340 }341 }342 }343}344declare module com {345 module google {346 module ar {347 module sceneform {348 class SkeletonNode extends com.google.ar.sceneform.Node {349 static class: java.lang.Class<com.google.ar.sceneform.SkeletonNode>;350 onUpdate(param0: com.google.ar.sceneform.FrameTime): void;351 constructor();352 getBoneAttachment(param0: string): com.google.ar.sceneform.Node;353 setBoneAttachment(param0: string, param1: com.google.ar.sceneform.Node): void;354 setRenderable(param0: com.google.ar.sceneform.rendering.Renderable): void;355 }356 module SkeletonNode {357 class NodeBinding extends com.google.ar.sceneform.Node.TransformChangedListener {358 static class: java.lang.Class<com.google.ar.sceneform.SkeletonNode.NodeBinding>;359 onTransformChanged(param0: com.google.ar.sceneform.Node, param1: com.google.ar.sceneform.Node): void;360 }361 class SkeletonSkinningModifier {362 static class: java.lang.Class<com.google.ar.sceneform.SkeletonNode.SkeletonSkinningModifier>;363 modifyMaterialBoneTransformsBuffer(param0: java.nio.FloatBuffer): java.nio.FloatBuffer;364 isModifiedSinceLastRender(): boolean;365 }366 }367 }368 }369 }370}371declare module com {372 module google {373 module ar {374 module sceneform {375 class Sun extends com.google.ar.sceneform.Node {376 static class: java.lang.Class<com.google.ar.sceneform.Sun>;377 setParent(param0: com.google.ar.sceneform.NodeParent): void;378 }379 }380 }381 }382}383declare module com {384 module google {385 module ar {386 module sceneform {387 class TouchEventSystem {388 static class: java.lang.Class<com.google.ar.sceneform.TouchEventSystem>;389 addOnPeekTouchListener(param0: com.google.ar.sceneform.Scene.OnPeekTouchListener): void;390 getOnTouchListener(): com.google.ar.sceneform.Scene.OnTouchListener;391 constructor();392 onTouchEvent(param0: com.google.ar.sceneform.HitTestResult, param1: globalAndroid.view.MotionEvent): void;393 setOnTouchListener(param0: com.google.ar.sceneform.Scene.OnTouchListener): void;394 removeOnPeekTouchListener(param0: com.google.ar.sceneform.Scene.OnPeekTouchListener): void;395 }396 module TouchEventSystem {397 class TouchTarget {398 static class: java.lang.Class<com.google.ar.sceneform.TouchEventSystem.TouchTarget>;399 a: com.google.ar.sceneform.Node;400 b: number;401 c: com.google.ar.sceneform.TouchEventSystem.TouchTarget;402 }403 }404 }405 }406 }407}408declare module com {409 module google {410 module ar {411 module sceneform {412 class a {413 static class: java.lang.Class<com.google.ar.sceneform.a>;414 }415 }416 }417 }418}419declare module com {420 module google {421 module ar {422 module sceneform {423 class b {424 static class: java.lang.Class<com.google.ar.sceneform.b>;425 run(): void;426 }427 }428 }429 }430}431declare module com {432 module google {433 module ar {434 module sceneform {435 class c {436 static class: java.lang.Class<com.google.ar.sceneform.c>;437 run(): void;438 }439 }440 }441 }442}443declare module com {444 module google {445 module ar {446 module sceneform {447 class d {448 static class: java.lang.Class<com.google.ar.sceneform.d>;449 run(): void;450 }451 }452 }453 }454}455declare module com {456 module google {457 module ar {458 module sceneform {459 class e {460 static class: java.lang.Class<com.google.ar.sceneform.e>;461 run(): void;462 }463 }464 }465 }466}467declare module com {468 module google {469 module ar {470 module sceneform {471 class f {472 static class: java.lang.Class<com.google.ar.sceneform.f>;473 accept(param0: any): void;474 }475 }476 }477 }478}479declare module com {480 module google {481 module ar {482 module sceneform {483 class g {484 static class: java.lang.Class<com.google.ar.sceneform.g>;485 onLayoutChange(param0: globalAndroid.view.View, param1: number, param2: number, param3: number, param4: number, param5: number, param6: number, param7: number, param8: number): void;486 }487 }488 }489 }490}491declare module com {492 module google {493 module ar {494 module sceneform {495 class h {496 static class: java.lang.Class<com.google.ar.sceneform.h>;497 test(param0: any): boolean;498 }499 }500 }501 }502}503declare module com {504 module google {505 module ar {506 module sceneform {507 class i {508 static class: java.lang.Class<com.google.ar.sceneform.i>;509 accept(param0: any, param1: any): void;510 }511 }512 }513 }514}515declare module com {516 module google {517 module ar {518 module sceneform {519 class j {520 static class: java.lang.Class<com.google.ar.sceneform.j>;521 accept(param0: any): void;522 }523 }524 }525 }526}527declare module com {528 module google {529 module ar {530 module sceneform {531 class k {532 static class: java.lang.Class<com.google.ar.sceneform.k>;533 get(): any;534 }535 }536 }537 }538}539declare module com {540 module google {541 module ar {542 module sceneform {543 class l {544 static class: java.lang.Class<com.google.ar.sceneform.l>;545 accept(param0: any): void;546 }547 }548 }549 }550}551declare module com {552 module google {553 module ar {554 module sceneform {555 class m {556 static class: java.lang.Class<com.google.ar.sceneform.m>;557 accept(param0: any): void;558 }559 }560 }561 }562}563declare module com {564 module google {565 module ar {566 module sceneform {567 class n {568 static class: java.lang.Class<com.google.ar.sceneform.n>;569 apply(param0: any): any;570 }571 }572 }573 }...
lv.js
Source:lv.js
1/*2Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.3For licensing, see LICENSE.html or http://ckeditor.com/license4*/5CKEDITOR.plugins.setLang( 'specialchar', 'lv',6{7 euro: 'Euro zÄ«me',8 lsquo: 'KreisÄ vienkÄrtÄ«ga pÄdiÅa',9 rsquo: 'LabÄ vienkÄrtÄ«ga pÄdiÅa',10 ldquo: 'KreisÄ dubult pÄdiÅa',11 rdquo: 'LabÄ dubult pÄdiÅa',12 ndash: 'En svÄ«tra',13 mdash: 'Em svÄ«tra',14 iexcl: 'Apgriezta izsaukuma zÄ«me',15 cent: 'Centu naudas zÄ«me',16 pound: 'SterliÅu mÄrciÅu naudas zÄ«me',17 curren: 'ValÅ«tas zÄ«me',18 yen: 'Jenu naudas zÄ«me',19 brvbar: 'VertikÄla pÄrrauta lÄ«nija',20 sect: 'ParagrÄfa zÄ«me',21 uml: 'Diakritiska zÄ«me',22 copy: 'AutortiesÄ«bu zÄ«me',23 ordf: 'SieviÅ¡Ä·as kÄrtas rÄdÄ«tÄjs',24 laquo: 'KreisÄ dubult stÅ«ra pÄdiÅu zÄ«me',25 not: 'NeparakstÄ«ts',26 reg: 'ReÄ£istrÄta zÄ«me',27 macr: 'GarumzÄ«me',28 deg: 'GrÄdu zÄ«me',29 sup2: 'AugÅ¡raksts divi',30 sup3: 'AugÅ¡raksts trÄ«s',31 acute: 'AkÅ«ta uzsvara zÄ«me',32 micro: 'Mikro zÄ«me',33 para: 'Rindkopas zÄ«me ',34 middot: 'VidÄjs punkts',35 cedil: 'ÄÄ·Ä«tis zem burta',36 sup1: 'AugÅ¡raksts viens',37 ordm: 'VÄ«riÅ¡Ä·Ä«gas kÄrtas rÄdÄ«tÄjs',38 raquo: 'LabÄ dubult stÅ«ra pÄdiÅu zÄ«me',39 frac14: 'VulgÄra frakcija 1/4',40 frac12: 'VulgÄra frakcija 1/2',41 frac34: 'VulgÄra frakcija 3/4',42 iquest: 'Apgriezta jautÄjuma zÄ«me',43 Agrave: 'Lielais latÄ«Åu burts A ar uzsvara zÄ«mi',44 Aacute: 'Lielais latÄ«Åu burts A ar akÅ«tu uzsvara zÄ«mi',45 Acirc: 'Lielais latÄ«Åu burts A ar diakritisku zÄ«mi',46 Atilde: 'Lielais latÄ«Åu burts A ar tildi ',47 Auml: 'Lielais latÄ«Åu burts A ar diakritisko zÄ«mi',48 Aring: 'Lielais latÄ«Åu burts A ar aplÄ«ti augÅ¡Ä',49 AElig: 'Lielais latÄ«Åu burts Ã',50 Ccedil: 'Lielais latÄ«Åu burts C ar ÄÄ·Ä«ti zem burta',51 Egrave: 'Lielais latÄ«Åu burts E ar apostrofu',52 Eacute: 'Lielais latÄ«Åu burts E ar akÅ«tu uzsvara zÄ«mi',53 Ecirc: 'Lielais latÄ«Åu burts E ar diakritisko zÄ«mi',54 Euml: 'Lielais latÄ«Åu burts E ar diakritisko zÄ«mi',55 Igrave: 'Lielais latÄ«Åu burts I ar uzsvaras zÄ«mi',56 Iacute: 'Lielais latÄ«Åu burts I ar akÅ«tu uzsvara zÄ«mi',57 Icirc: 'Lielais latÄ«Åu burts I ar diakritisko zÄ«mi',58 Iuml: 'Lielais latÄ«Åu burts I ar diakritisko zÄ«mi',59 ETH: 'Lielais latÄ«Åu burts Eth',60 Ntilde: 'Lielais latÄ«Åu burts N ar tildi',61 Ograve: 'Lielais latÄ«Åu burts O ar uzsvara zÄ«mi',62 Oacute: 'Lielais latÄ«Åu burts O ar akÅ«to uzsvara zÄ«mi',63 Ocirc: 'Lielais latÄ«Åu burts O ar diakritisko zÄ«mi',64 Otilde: 'Lielais latÄ«Åu burts O ar tildi',65 Ouml: 'Lielais latÄ«Åu burts O ar diakritisko zÄ«mi',66 times: 'ReizinÄÅ¡anas zÄ«me ',67 Oslash: 'Lielais latÄ«Åu burts O ar iesvÄ«trojumu',68 Ugrave: 'Lielais latÄ«Åu burts U ar uzsvaras zÄ«mi',69 Uacute: 'Lielais latÄ«Åu burts U ar akÅ«to uzsvars zÄ«mi',70 Ucirc: 'Lielais latÄ«Åu burts U ar diakritisko zÄ«mi',71 Uuml: 'Lielais latÄ«Åu burts U ar diakritisko zÄ«mi',72 Yacute: 'Lielais latÄ«Åu burts Y ar akÅ«to uzsvaras zÄ«mi',73 THORN: 'Lielais latÄ«Åu burts torn',74 szlig: 'Mazs latÄ«Åu burts ar ligatÅ«ru',75 agrave: 'Mazs latÄ«Åu burts a ar uzsvara zÄ«mi',76 aacute: 'Mazs latÄ«Åu burts a ar akÅ«to uzsvara zÄ«mi',77 acirc: 'Mazs latÄ«Åu burts a ar diakritisko zÄ«mi',78 atilde: 'Mazs latÄ«Åu burts a ar tildi',79 auml: 'Mazs latÄ«Åu burts a ar diakritisko zÄ«mi',80 aring: 'Mazs latÄ«Åu burts a ar aplÄ«ti augÅ¡Ä',81 aelig: 'Mazs latÄ«Åu burts æ',82 ccedil: 'Mazs latÄ«Åu burts c ar ÄÄ·Ä«ti zem burta',83 egrave: 'Mazs latÄ«Åu burts e ar uzsvara zÄ«mi ',84 eacute: 'Mazs latÄ«Åu burts e ar akÅ«tu uzsvara zÄ«mi',85 ecirc: 'Mazs latÄ«Åu burts e ar diakritisko zÄ«mi',86 euml: 'Mazs latÄ«Åu burts e ar diakritisko zÄ«mi',87 igrave: 'Mazs latÄ«Åu burts i ar uzsvara zÄ«mi ',88 iacute: 'Mazs latÄ«Åu burts i ar akÅ«tu uzsvara zÄ«mi',89 icirc: 'Mazs latÄ«Åu burts i ar diakritisko zÄ«mi',90 iuml: 'Mazs latÄ«Åu burts i ar diakritisko zÄ«mi',91 eth: 'Mazs latÄ«Åu burts eth',92 ntilde: 'Mazs latÄ«Åu burts n ar tildi',93 ograve: 'Mazs latÄ«Åu burts o ar uzsvara zÄ«mi ',94 oacute: 'Mazs latÄ«Åu burts o ar akÅ«tu uzsvara zÄ«mi',95 ocirc: 'Mazs latÄ«Åu burts o ar diakritisko zÄ«mi',96 otilde: 'Mazs latÄ«Åu burts o ar tildi',97 ouml: 'Mazs latÄ«Åu burts o ar diakritisko zÄ«mi',98 divide: 'DalÄ«Å¡anas zÄ«me',99 oslash: 'Mazs latÄ«Åu burts o ar iesvÄ«trojumu',100 ugrave: 'Mazs latÄ«Åu burts u ar uzsvara zÄ«mi ',101 uacute: 'Mazs latÄ«Åu burts u ar akÅ«tu uzsvara zÄ«mi',102 ucirc: 'Mazs latÄ«Åu burts u ar diakritisko zÄ«mi',103 uuml: 'Mazs latÄ«Åu burts u ar diakritisko zÄ«mi',104 yacute: 'Mazs latÄ«Åu burts y ar akÅ«tu uzsvaras zÄ«mi',105 thorn: 'Mazs latÄ«Åu burts torns',106 yuml: 'Mazs latÄ«Åu burts y ar diakritisko zÄ«mi',107 OElig: 'Liela latÄ«Åu ligatÅ«ra OE',108 oelig: 'Maza latÄ«Åu ligatÅ«ra oe',109 '372': 'Liels latÄ«Åu burts W ar diakritisko zÄ«mi ',110 '374': 'Liels latÄ«Åu burts Y ar diakritisko zÄ«mi ',111 '373': 'Mazs latÄ«Åu burts w ar diakritisko zÄ«mi ',112 '375': 'Mazs latÄ«Åu burts y ar diakritisko zÄ«mi ',113 sbquo: 'Mazas-9 vienkÄrtÄ«gas pÄdiÅas',114 '8219': 'Lielas-9 vienkÄrtÄ«gas apgrieztas pÄdiÅas',115 bdquo: 'Mazas-9 dubultas pÄdiÅas',116 hellip: 'HorizontÄli daudzpunkti',117 trade: 'PreÄu zÄ«mes zÄ«me',118 '9658': 'Melns pa labi pagriezts radÄ«tÄjs',119 bull: 'Lode',120 rarr: 'Bulta pa labi',121 rArr: 'Dubulta Bulta pa labi',122 hArr: 'Bulta pa kreisi',123 diams: 'Dubulta Bulta pa kreisi',124 asymp: 'GandrÄ«z vienÄds ar'...
Using AI Code Generation
1var argosy = require('argosy')2var ar = require('argosy-patterns').ar3var service = argosy()4service.pipe(argosy.acceptor({port: 8000})).pipe(service)5service.accept({6 greet: ar('name', 'greeting')7}, function (msg, cb) {8 cb(null, {greeting: 'hello ' + msg.name})9})10var patterns = require('argosy-patterns')11var service = patterns()12service.pipe(argosy.acceptor({port: 8000})).pipe(service)13service.accept({14 greet: ar('name', 'greeting')15}, function (msg, cb) {16 cb(null, {greeting: 'hello ' + msg.name})17})18var patterns = require('argosy-patterns')19var service = patterns()20service.pipe(argosy.acceptor({port: 8000})).pipe(service)21service.accept({22 greet: ar('name', 'greeting')23}, function (msg, cb) {24 cb(null, {greeting: 'hello ' + msg.name})25})26var patterns = require('argosy-patterns')27var service = patterns()28service.pipe(argosy.acceptor({port: 8000})).pipe(service)29service.accept({30 greet: ar('name', 'greeting')31}, function (msg, cb) {32 cb(null, {greeting: 'hello ' + msg.name})33})34var patterns = require('argosy-patterns')35var service = patterns()36service.pipe(argosy.acceptor({port: 8000})).pipe(service)37service.accept({38 greet: ar('name', 'greeting')39}, function (msg, cb) {40 cb(null, {greeting: 'hello ' + msg.name})41})42var patterns = require('argosy-patterns')43var service = patterns()44service.pipe(argosy.acceptor({port:
Using AI Code Generation
1var argosy = require('argosy')2var argosyPattern = require('argosy-pattern')3var argosyAr = require('argosy-ar')4var test = argosy()5test.pipe(argosyAr({6 ar: {7 }8})).pipe(test)9test.accept({10})11test.on('test', function (msg, cb) {12 console.log(msg)13 cb(null, 'hello world')14})15var argosy = require('argosy')16var argosyAr = require('argosy-ar')17var test2 = argosy()18test2.pipe(argosyAr({19 ar: {20 }21})).pipe(test2)22test2.on('ready', function () {23 test2.test('hello world', function (err, resp) {24 console.log(resp)25 })26})
Using AI Code Generation
1var argosy = require('argosy')2var ar = require('argosy-patterns')3var service = argosy()4service.pipe(argosy.acceptor({ port: 8000 })).pipe(service)5service.accept({ role: 'math', cmd: 'sum' }, function (msg, cb) {6 cb(null, { answer: msg.left + msg.right })7})8var argosyPatterns = require('argosy-patterns')9var patterns = argosyPatterns()10var service = patterns({11 'math.sum': ar({12 }, {13 })14}, function (msg, cb) {15 cb(null, { answer: msg.left + msg.right })16})17service.pipe(argosy.acceptor({ port: 8000 })).pipe(service)18var argosy = require('argosy')19var ar = require('argosy-patterns')20var service = argosy()21service.pipe(argosy.connector({ port: 8000 })).pipe(service)22service.act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, function (err, msg) {23})24var argosyPatterns = require('argosy-patterns')25var patterns = argosyPatterns()26var service = patterns({27 'math.sum': ar({28 }, {29 })30}, function (msg, cb) {31 cb(null, { answer: msg.left + msg.right })32})33service.pipe(argosy.connector({ port: 8000 })).pipe(service)34service.act('math.sum', { left: 1, right: 2 }, function (err, msg) {35})
Using AI Code Generation
1var argosy = require('argosy')2var ar = require('argosy-patterns')3var argosyService = argosy()4var argosyClient = argosy()5argosyService.use(function (request, response, next) {6 if (ar.matches(request, { greet: ar.string })) {7 response.end({ greeting: 'hello ' + request.greet })8 } else {9 next()10 }11})12argosyService.pipe(argosyClient).pipe(argosyService)13argosyClient.act({ greet: 'world' }, function (err, response) {14})15var argosy = require('argosy')16var argosyService = require('argosy-service')17var argosyClient = argosy()18argosyService(argosyClient, { greet: 'world' }, function (err, response) {19})
Using AI Code Generation
1var argosy = require('argosy')2var ar = require('argosy-patterns').ar3var service = argosy()4service.use('math', {5 sum: ar([Number, Number], Number),6 product: ar([Number, Number], Number)7})8service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number)}, function (err, pattern) {9})10service.accept({sum: ar([Number, Number], Number)}, function (err, pattern) {11})12service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number), divide: ar([Number, Number], Number)}, function (err, pattern) {13})14service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number), divide: ar([Number, Number], String)}, function (err, pattern) {15})16service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number), divide: ar([Number, Number], String)}, function (err, pattern) {17})18service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number), divide: ar([Number, Number], String), subtract: ar([Number, Number], Number)}, function (err, pattern) {19})20service.accept({sum: ar([Number, Number], Number), product: ar([Number, Number], Number), divide: ar([Number, Number], String), subtract: ar([Number, Number], Number), multiply: ar([Number, Number], Number)}, function (err, pattern) {
Using AI Code Generation
1var argos = require('argos');2argos.ar(function (err, data) {3 if (err) {4 console.log(err);5 } else {6 console.log(data);7 }8});9argos.ar(function (err, data) {10 if (err) {11 console.log(err);12 } else {13 console.log(data);14 }15});16argos.ar(function (err, data) {17 if (err) {18 console.log(err);19 } else {20 console.log(data);21 }22});23argos.ar(function (err, data) {24 if (err) {25 console.log(err);26 } else {27 console.log(data);28 }29});30argos.ar(function (err, data) {31 if (err) {32 console.log(err);33 } else {34 console.log(data);35 }36});37argos.ar(function (err, data) {38 if (err) {39 console.log(err);40 } else {41 console.log(data);42 }43});44argos.ar(function (err, data) {45 if (err) {46 console.log(err);47 } else {48 console.log(data);49 }50});51argos.ar(function (err, data) {52 if (err) {53 console.log(err);54 } else {55 console.log(data);56 }57});58argos.ar(function (err, data) {59 if (err) {60 console.log(err);61 } else {62 console.log(data);63 }64});65argos.ar(function (err, data) {66 if (err) {67 console.log(err);68 } else {69 console.log(data);70 }71});72argos.ar(function (err, data) {73 if (err) {74 console.log(err);75 } else {76 console.log(data);77 }78});79argos.ar(function (err
Using AI Code Generation
1var argosy = require('argosy')2var ar = argosy()3ar.pipe(process.stdout)4ar.pipe(ar)5var argosy = require('argosy')6var ar = argosy()7ar.pipe(process.stdout)8ar.pipe(ar)9var argosy = require('argosy')10var ar = argosy()11ar.pipe(process.stdout)12ar.pipe(ar)13var argosy = require('argosy')14var ar = argosy()15ar.pipe(process.stdout)16ar.pipe(ar)17var argosy = require('argosy')18var ar = argosy()19ar.pipe(process.stdout)20ar.pipe(ar)21var argosy = require('argosy')22var ar = argosy()23ar.pipe(process.stdout)24ar.pipe(ar)25var argosy = require('argosy')26var ar = argosy()27ar.pipe(process.stdout)28ar.pipe(ar)29var argosy = require('argosy')30var ar = argosy()31ar.pipe(process.stdout)32ar.pipe(ar)33var argosy = require('argosy')34var ar = argosy()35ar.pipe(process.stdout)36ar.pipe(ar)37var argosy = require('argosy')38var ar = argosy()39ar.pipe(process.stdout)40ar.pipe(ar)
Using AI Code Generation
1var argosy = require('argosy')2var ar = argosy()3ar.pipe(process.stdout)4ar.on('data', function (data) {5 console.log(data)6})7ar.write('test')8var argosy = require('argosy')9var ar = argosy()10ar.pipe(process.stdout)11ar.on('data', function (data) {12 console.log(data)13})14ar.write('test2')15var argosy = require('argosy')16var ar = argosy()17ar.pipe(process.stdout)18ar.on('data', function (data) {19 console.log(data)20})21ar.write('test3')22var argosy = require('argosy')23var ar = argosy()24ar.pipe(process.stdout)25ar.on('data', function (data) {26 console.log(data)27})28ar.write('test4')29var argosy = require('argosy')30var ar = argosy()31ar.pipe(process.stdout)32ar.on('data', function (data) {33 console.log(data)34})35ar.write('test5')36var argosy = require('argosy')37var ar = argosy()38ar.pipe(process.stdout)39ar.on('data', function (data) {40 console.log(data)41})42ar.write('test6')43var argosy = require('argosy')44var ar = argosy()45ar.pipe(process.stdout)46ar.on('data', function (data) {47 console.log(data)48})49ar.write('test7')50var argosy = require('argosy')51var ar = argosy()52ar.pipe(process.stdout)53ar.on('data', function (data) {54 console.log(data)55})56ar.write('test8')
Using AI Code Generation
1var argos = require('argos');2var ar = argos.AR;3ar.start(function(err) {4 if (err) {5 console.log(err);6 return;7 }8 console.log('AR started');9 ar.on('marker', function(marker) {10 console.log('marker detected');11 console.log(marker);12 });13});14{15 "dependencies": {16 }17}18#### argos.AR.start(callback)19#### argos.AR.stop(callback)20#### argos.AR.on('marker', callback)21#### argos.AR.on('error', callback)22#### argos.AR.on('close', callback)23#### argos.AR.on('close', callback)24#### argos.AR.on('ready', callback)25Copyright (
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!