index
int64
repo_id
string
file_path
string
content
string
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIFrameFourCCType.java
package app.pivo.android.ndisdk.api; /** * Represents the color format of any given frame. It is recommended, when able, to use the UYVY or UYVA color formats, * but if this format is not available, it is better to allow NDI to internally convert it using hardware acceleration. */ public enum NDIFrameFourCCType { ...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIFrameSync.java
package app.pivo.android.ndisdk.api; public class NDIFrameSync extends NDIFrameCleaner implements AutoCloseable { static { // TODO: Implement this forced reference more effectively NDIApi.loadLibraries(); } /** * A pointer to the NDIlib_framesync_instance_t instance */ privat...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIFrameType.java
package app.pivo.android.ndisdk.api; /** * Represents the type of an arbitrary frame provided by Devolay. */ public enum NDIFrameType { NONE(0), VIDEO(1), AUDIO(2), METADATA(3), ERROR(4), /** * Indicates that the settings on the input have changed. * This will be returned from {@li...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIMetadataFrame.java
package app.pivo.android.ndisdk.api; import java.util.concurrent.atomic.AtomicReference; public class NDIMetadataFrame implements AutoCloseable { final long structPointer; // set when a buffer is allocated by a receiver that later needs to be freed w/ that receiver. AtomicReference<NDIFrameCleaner> allo...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIPerformanceData.java
package app.pivo.android.ndisdk.api; /** * Stores data about total and dropped video/audio/metadata frames. This structure is only updated when used as an * argument for {@link NDIReceiver#queryPerformance(NDIPerformanceData)} */ public class NDIPerformanceData implements AutoCloseable { final long totalPerfor...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIReceiver.java
package app.pivo.android.ndisdk.api; /** * A structure to connect to and receive frames from {@link NDISource} instances. */ public class NDIReceiver extends NDIFrameCleaner implements AutoCloseable { /** * A bandwidth mode to receive only metadata from a source. */ public static final int RECEIVE_...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIRouter.java
package app.pivo.android.ndisdk.api; /** * An object used to create a fake "routed" source, which mirrors another source and can seamlessly switch between them. */ public class NDIRouter implements AutoCloseable { /** * Holds the reference to the NDIlib_routing_instance_t object */ private final lo...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDISender.java
package app.pivo.android.ndisdk.api; /** * An object used to send video/audio/metadata frames on a network or across internet connections. */ public class NDISender extends NDIFrameCleaner implements AutoCloseable { /** * Holds the reference to the NDIlib_send_instance_t object */ private final lo...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDISource.java
package app.pivo.android.ndisdk.api; import java.util.concurrent.atomic.AtomicBoolean; public class NDISource implements AutoCloseable { private final AtomicBoolean isClosed; final long structPointer; /** * Creates a source instance from a pointer to the internal source object. * * @para...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDITally.java
package app.pivo.android.ndisdk.api; /** * An object representing the result of a {@link NDISender#getTally(int)} call, describing where a {@link NDISender} * feed is currently being displayed. */ public class NDITally { private final boolean isOnProgram; private final boolean isOnPreview; /** * ...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIUtilities.java
package app.pivo.android.ndisdk.api; public class NDIUtilities { /** * Convert from the standard planar floating-point audio to interleaved 16s audio. * * @param srcFrame The frame to take input floating-point data from * @param targetFrame The frame to write output interleaved data to. *...
0
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk
java-sources/app/pivo/ndisdk/1.0.0-alpha07/app/pivo/android/ndisdk/api/NDIVideoFrame.java
package app.pivo.android.ndisdk.api; import java.nio.ByteBuffer; import java.util.concurrent.atomic.AtomicReference; public class NDIVideoFrame implements AutoCloseable { final long structPointer; // set when a buffer is allocated by a receiver that later needs to be freed w/ that receiver. AtomicRefere...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/ActionGraphic.java
package app.pivo.android.plussdk; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import app.pivo.android.plussdk.tracking.GraphicOverlay; /** * @author murodjon * Graphic instance for rendering object position, orientation * graphic over...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/ActionTracker.java
package app.pivo.android.plussdk; import android.graphics.Rect; import android.util.Log; import androidx.annotation.Keep; import java.nio.ByteBuffer; import app.pivo.android.plussdk.tracking.FrameMetadata; import app.pivo.android.plussdk.util.ITrackingListener; /** * Created by Murodjon on 2/8/19. */ class Acti...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/ActionTrackingProcessor.java
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/Classifier.java
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/FrameProcessingTask.java
package app.pivo.android.plussdk; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.ImageFormat; import android.graphics.Matrix; import android.graphics.Rect; import android.graphics.RectF; import android.medi...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/IFrameProcessingTask.java
package app.pivo.android.plussdk; import android.graphics.Rect; import android.media.Image; import app.pivo.android.plussdk.tracking.FrameMetadata; import app.pivo.android.plussdk.util.ITrackingListener; /** * Created by murodjon on 2020/04/16 */ interface IFrameProcessingTask { void update(Image image, Frame...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/ImageUtils.java
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/MultiBoxTracker.java
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/PivoPlusSdk.java
package app.pivo.android.plussdk; import android.content.Context; import android.graphics.PointF; import android.graphics.Rect; import android.media.Image; import android.util.Log; import app.pivo.android.basicsdk.PivoSdk; import app.pivo.android.basicsdk.exceptions.NotAllowedFeatureException; import app.pivo.android...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/PivoRotatorConfig.java
package app.pivo.android.plussdk; import app.pivo.android.basicsdk.util.Version; import app.pivo.android.podsdk.model.PivoDeviceCategory; import app.pivo.android.podsdk.model.PodModel; class PivoRotatorConfig { final float MARGIN = 0.05f; // 5% of Preview width (it can be adjust to increase the sensitivity later...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/PivoSensitivity.java
package app.pivo.android.plussdk; /** * This enum is used to control Pivo tracking sensitivity. * {@link PivoSensitivity#NONE} performs only tracking without Pivo rotation; * {@link PivoSensitivity#NORMAL} tracks while moving in normal pace * {@link PivoSensitivity#SLOW} tracks while moving in slow pace * {@link ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/PivoSpeedController.java
package app.pivo.android.plussdk; import android.graphics.PointF; class PivoSpeedController { private static PivoSpeedController instance; private final PivoRotatorConfig mPivoRotatorConfig = PivoRotatorConfig.getInstance(); private PivoPlusSdk plusSdk; private int mWidth; private int mHeight...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/PositionType.java
package app.pivo.android.plussdk; enum PositionType { MIDDLE(0), LEFT(1), RIGHT(2); private int type; PositionType(int type){ this.type = type; } public int getType(){ return this.type; } public static PositionType get(int type){ if (type==MIDDLE.getType(...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/RamClassifier.java
package app.pivo.android.plussdk; import android.app.ActivityManager; import android.content.Context; import android.util.Log; class RamClassifier { private static String TAG = "RamClassifier"; static Class classify(Context context){ ActivityManager activityManager=(ActivityManager) context.getSyste...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/SensitivityMode.java
package app.pivo.android.plussdk; enum SensitivityMode { NONE(-1), NORMAL(0), SLOW (1), FAST (2), FRENZY(3); SensitivityMode (int mode){ this.mode = mode; } private int mode; private float KP, KD; private int lowerIndex, upperIndex; private float v1MaxHalfSpeed; ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/SpeedConstraint.java
package app.pivo.android.plussdk; class SpeedConstraint { private static SpeedConstraint instance; private final PivoRotatorConfig.Speed[] speeds = PivoRotatorConfig.getInstance().getSpeeds(); private final float [] angularSpeeds = PivoRotatorConfig.getInstance().getAngularSpeeds(); public static Spe...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/TFLiteObjectDetectionAPIModel.java
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/VisionImageProcessor.java
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/tracking/FrameMetadata.java
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/tracking/GraphicOverlay.java
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/tracking/Tracking.java
package app.pivo.android.plussdk.tracking; public enum Tracking { ACTION(1), PERSON(2), HORSE(3), DOG(4), FACE(5), NONE(0), INITIAL(-1); int type; Tracking(int type){ this.type = type; } public int getType(){ return type; } }
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/util/IActionSelector.java
package app.pivo.android.plussdk.util; import android.graphics.Rect; public interface IActionSelector { void onReset(); void onSelect(Rect region); }
0
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk
java-sources/app/pivo/plussdk/0.0.4/app/pivo/android/plussdk/util/ITrackingListener.java
package app.pivo.android.plussdk.util; import android.graphics.Rect; /** * Created by murodjon on 2020/04/14 */ public interface ITrackingListener{ /** * This callback function is a return of object tracking * @param x starting coordinate point of tracked result by x * @param y starting coordinat...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/FrameProcessingTask.java
package app.pivo.android.prosdk; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.ImageFormat; import android.graphics.Matrix; import android.graphics.Rect; import android.graphics.RectF; import android.media...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/IFrameProcessingTask.java
package app.pivo.android.prosdk; import android.graphics.Rect; import android.media.Image; import app.pivo.android.prosdk.tracking.FrameMetadata; import app.pivo.android.prosdk.util.ITrackingListener; /** * Created by murodjon on 2020/04/16 */ interface IFrameProcessingTask { void update(Image image, FrameMet...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/PivoProSdk.java
package app.pivo.android.prosdk; import android.content.Context; import android.graphics.PointF; import android.graphics.Rect; import android.media.Image; import android.util.Log; import app.pivo.android.basicsdk.PivoSdk; import app.pivo.android.prosdk.tracking.FrameMetadata; import app.pivo.android.prosdk.util.ITrac...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/PivoRotatorConfig.java
package app.pivo.android.prosdk; import app.pivo.android.basicsdk.util.Version; import app.pivo.android.podsdk.model.PivoDeviceCategory; import app.pivo.android.podsdk.model.PodModel; class PivoRotatorConfig { final float MARGIN = 0.05f; // 5% of Preview width (it can be adjust to increase the sensitivity later)...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/PivoSensitivity.java
package app.pivo.android.prosdk; /** * This enum is used to control Pivo tracking sensitivity. * {@link PivoSensitivity#NONE} performs only tracking without Pivo rotation; * {@link PivoSensitivity#NORMAL} tracks while moving in normal pace * {@link PivoSensitivity#SLOW} tracks while moving in slow pace * {@link P...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/PivoSpeedController.java
package app.pivo.android.prosdk; import android.graphics.PointF; class PivoSpeedController { private static PivoSpeedController instance; private final PivoRotatorConfig mPivoRotatorConfig = PivoRotatorConfig.getInstance(); private PivoProSdk proSdk; private int mWidth; private int mHeight; ...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/SensitivityMode.java
package app.pivo.android.prosdk; enum SensitivityMode { NONE(-1), NORMAL(0), SLOW (1), FAST (2); SensitivityMode (int mode){ this.mode = mode; } private int mode; private float KP, KD; private int lowerIndex, upperIndex; private float v1MaxHalfSpeed; private float ...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/TFLiteObjectDetectionAPIModel.java
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/tracking/FrameMetadata.java
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/tracking/Tracking.java
package app.pivo.android.prosdk.tracking; public enum Tracking { ACTION(1), PERSON(2), HORSE(3), NONE(0), INITIAL(-1); int type; Tracking(int type){ this.type = type; } public int getType(){ return type; } }
0
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk
java-sources/app/pivo/prosdk/1.3.2/app/pivo/android/prosdk/util/ITrackingListener.java
package app.pivo.android.prosdk.util; import android.graphics.Rect; /** * Created by murodjon on 2020/04/14 */ public interface ITrackingListener{ /** * This callback function is a return of object tracking * @param x starting coordinate point of tracked result by x * @param y starting coordinate...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzApi.java
package app.playerzero.sdk; import com.fasterxml.jackson.databind.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpRe...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzEvent.java
package app.playerzero.sdk; import java.util.Date; import java.util.HashMap; import java.util.Map; public class PzEvent { private final String id; private final PzEventType type; private final String subtype; private final Map<String, String> identity; private final Date ts; private final Map<...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzEventOptions.java
package app.playerzero.sdk; import java.util.Map; public class PzEventOptions { protected String type; protected Map<String, Object> metadata; public PzEventOptions setMetadata(Map<String, Object> metadata) { this.metadata = metadata; return this; } public PzEventOptions setType(...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzEventType.java
package app.playerzero.sdk; public enum PzEventType {Tracked, Logged, Signal}
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzIdentity.java
package app.playerzero.sdk; import java.util.HashMap; import java.util.Map; class PzIdentity { Map<String, String> actors; Map<String, Object> properties; PzIdentity() { this(new HashMap<>()); } private PzIdentity(Map<String, String> actors) { this(actors, new HashMap<>()); }...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzOptions.java
package app.playerzero.sdk; import java.net.MalformedURLException; import java.net.URL; import java.util.Collection; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; public class PzOptions {...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzPendingEvent.java
package app.playerzero.sdk; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Date; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; public class PzPending...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/PzSignalOptions.java
package app.playerzero.sdk; import java.util.Map; public class PzSignalOptions extends PzEventOptions { protected String reason; protected Throwable error; protected String fp; @Override public PzSignalOptions setType(String type) { super.setType(type); return this; } @Ov...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/log4j/PzSdkAppender.java
package app.playerzero.sdk.log4j; import app.playerzero.sdk.PzApi; import app.playerzero.sdk.PzEventType; import app.playerzero.sdk.PzOptions; import org.apache.logging.log4j.core.Appender; import org.apache.logging.log4j.core.Core; import org.apache.logging.log4j.core.Layout; import org.apache.logging.log4j.core.LogE...
0
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk
java-sources/app/playerzero/sdk/java-api/0.5.1/app/playerzero/sdk/logback/PzSdkAppender.java
package app.playerzero.sdk.logback; import app.playerzero.sdk.PzApi; import app.playerzero.sdk.PzEventType; import app.playerzero.sdk.PzOptions; import app.playerzero.sdk.PzPendingEvent; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.classic.spi.IThrowableProxy; import ch.qos.logback.classic.sp...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/HeartBeat.java
package app.safety24.core; import app.safety24.core.metrics.EventType; import app.safety24.core.metrics.MetricGenericValue; import app.safety24.core.metrics.MetricType; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Map; import java.util.Objects; import java.util.concurrent.ConcurrentHa...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/HeartBeatRecordId.java
package app.safety24.core; public class HeartBeatRecordId { public Long recordId; public HeartBeatRecordId() { } public HeartBeatRecordId(Long recordId) { this.recordId = recordId; } public Long getRecordId() { return recordId; } public HeartBeatRecordId setRecordId(...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/Person.java
package app.safety24.core; import java.io.Serializable; /** * Represents a person with basic contact information. * This class implements {@link Serializable}, allowing instances to be serialized and deserialized. * * <p>Example use cases: * <ul> * <li>Storing contact details in an address book or contact man...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/SignUpRequest.java
package app.safety24.core; /** * Represents a sign-up request containing user registration details. * This class stores information such as email, full name, phone number, and password. * * <p>Example use cases: * <ul> * <li>Registering a new user in an authentication system.</li> * <li>Collecting user info...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/SignUpResponse.java
package app.safety24.core; /** * Represents a response to a sign-up request. * This class stores information such as a token (if the sign-up is successful) and an error message (if the sign-up fails). * * <p>Example use cases: * <ul> * <li>Returning a success token after user registration.</li> * <li>Provid...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/Switch.java
package app.safety24.core; import java.util.*; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Predicate; /** * A utility class for implementing a flexible switch-like mechanism in Java. * This class allows for associating conditions (based on predicates) with actions, and executing the ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/TokenResponse.java
package app.safety24.core; /** * Represents a response that contains an authentication token and an optional error message. * This class is typically used to return a token upon a successful operation or an error message in case of failure. * * <p>Example use cases: * <ul> * <li>Returning a token after success...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/TrustAllCertificates.java
package app.safety24.core; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; public class TrustAllCertificates implements X509TrustManager { @Override public void checkClientTrusted(X509Certificate[] chain, String authType) { // Trust all clients } @Override ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/TrustedPerson.java
package app.safety24.core; import app.safety24.core.metrics.EventType; import app.safety24.core.metrics.MetricType; import java.util.HashMap; import java.util.Map; /** * Represents a trusted person who has specific access rights to events and metrics. * This class extends {@link Person} and adds a map of rights th...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/UploadResponse.java
package app.safety24.core; public class UploadResponse { private String message; public UploadResponse(String message) { this.message = message; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } }
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/api/EarthquakeData.java
package app.safety24.core.api; import java.util.List; /** * Represents earthquake data, including metadata, features, and bounding box information. */ public class EarthquakeData { private String type; private Metadata metadata; private List<Feature> features; private List<Double> bbox; /** ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetail.java
package app.safety24.core.event; import java.time.LocalDateTime; /** * Represents the details of an event, including the date and type of the event. * This is an abstract class designed to be extended by specific event detail types. * * <p>Subclasses must implement the {@link #getType()} method to provide the spe...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailAudio.java
package app.safety24.core.event; import java.time.LocalDateTime; import java.util.List; /** * Represents an event detail specifically for audio data. * This class extends {@link EventDetailUrl} and includes audio-specific details, such as associated URLs and date. * * <p>Example use cases: * <ul> * <li>Storin...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailEmpty.java
package app.safety24.core.event; /** * Represents an event detail with no specific data. * This class is used for events that do not contain additional details. * * <p>Example use cases: * <ul> * <li>Handling events that do not require associated data.</li> * <li>Providing a placeholder for empty or undefin...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailHeartbeat.java
package app.safety24.core.event; import app.safety24.core.HeartBeat; import app.safety24.core.TrustedPerson; /** * Represents an event detail specifically for heartbeat data. * This class includes information about the associated {@link HeartBeat} and {@link TrustedPerson}. * * <p>Example use cases: * <ul> * ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailImage.java
package app.safety24.core.event; import java.time.LocalDateTime; import java.util.List; /** * Represents an event detail specifically for image data. * This class extends {@link EventDetailUrl} and includes image-specific details, such as associated URLs and date. * * <p>Example use cases: * <ul> * <li>Storin...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailText.java
package app.safety24.core.event; import java.time.LocalDateTime; import java.util.Objects; /** * Represents an event detail specifically for text data. * This class includes text content and the associated date. * * <p>Example use cases: * <ul> * <li>Storing text-based metadata for an event.</li> * <li>Pro...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailType.java
package app.safety24.core.event; /** * Represents the types of event details that can be associated with an event. * Each type corresponds to a specific kind of data, such as an image, video, audio, heartbeat, text, or an empty value. * * <p>Example use cases: * <ul> * <li>Identifying the type of data associat...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailUrl.java
package app.safety24.core.event; import java.util.ArrayList; import java.util.List; /** * Represents an abstract event detail that includes a list of URLs. * This class serves as a base for specific event detail types that are associated with URLs, such as images, videos, or audio. * * <p>Example use cases: * <u...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/event/EventDetailVideo.java
package app.safety24.core.event; import java.time.LocalDateTime; import java.util.List; /** * Represents an event detail specifically for video data. * This class extends {@link EventDetailUrl} and includes video-specific details, such as associated URLs and date. * * <p>Example use cases: * <ul> * <li>Storin...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/ActivityMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking user activities. * This class stores the type of activity being performed, which can be used for logging, * analytics, or generating personalized insights. * * <p>Example use cases: * <ul> * <li>Tracking physical activities such as runn...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/ActivityType.java
package app.safety24.core.metrics; /** * Represents the various types of activities that can be tracked or categorized within the application. * Each constant in this enum corresponds to a specific activity, ranging from sports, outdoor pursuits, * indoor hobbies, and other recreational engagements. * * <p>This e...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/AirPressureMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking air pressure measurements. * This class extends {@link FloatMinMaxMetric} and provides functionality for storing * minimum, maximum, and current air pressure values. * * <p>Example use cases: * <ul> * <li>Monitoring ambient air pressure...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/ApplicationsMetric.java
package app.safety24.core.metrics; import java.util.List; /** * Represents a metric for tracking the usage of applications. * This class extends {@link ListMetric} and stores a list of application names or identifiers. * * <p>Example use cases: * <ul> * <li>Tracking the list of recently used or opened applica...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/BatteryChargingType.java
package app.safety24.core.metrics; /** * Represents the different types of battery charging methods. * This enum is useful for identifying how a device is being charged or if it is not charging. * * <p>Possible use cases: * <ul> * <li>Display charging type information to the user.</li> * <li>Trigger differe...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/BatteryLevelMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking the battery level of a device. * This class stores the current battery level as an integer percentage (0 to 100). * * <p>Example use cases: * <ul> * <li>Monitoring the battery level for power management features.</li> * <li>Triggering...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/BatteryTemperatureMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking the battery temperature of a device. * This class stores the current battery temperature as a floating-point value, typically in degrees Celsius. * * <p>Example use cases: * <ul> * <li>Monitoring battery temperature to prevent overheati...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/BluetoothDeviceMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking information about a Bluetooth-connected device. * This class stores the unique identifier (UID) of the device, along with metrics such as heart rate, * battery level, stress level, and HRV indicators associated with the Bluetooth device. * ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/BluetoothDevicesMetric.java
package app.safety24.core.metrics; import java.util.ArrayList; import java.util.List; /** * Represents a metric for tracking multiple Bluetooth-connected devices. * This class stores a list of {@link BluetoothDeviceMetric} instances, where each instance contains information * about an individual Bluetooth device, ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/ChargingStateMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking the charging state of a device. * This class stores the current charging type, such as USB, AC, or wireless. * * <p>Example use cases: * <ul> * <li>Monitoring the current charging state of the device for diagnostics or power management.<...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/CompassMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking compass-related information. * This class stores data related to the device's orientation, motion, and associated activity metrics. * * <p>Example use cases: * <ul> * <li>Determining the current direction the device is facing using azimu...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/DeviceInfoMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking device information. * This class stores details about the device, including its manufacturer, brand, and model. * * <p>Example use cases: * <ul> * <li>Collecting information about the devices connected to the system.</li> * <li>Provid...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/DeviceUidMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking the unique identifier (UID) of a device. * This class extends {@link StringMetric} and stores the UID as a string value. * * <p>Example use cases: * <ul> * <li>Identifying and distinguishing between different devices in the system.</li> ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/EmotionMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking the emotional state of a user. * This class stores the current emotional state as an {@link EmotionType} value. * * <p>Example use cases: * <ul> * <li>Monitoring emotional patterns over time to provide personalized recommendations.</li> ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/EmotionType.java
package app.safety24.core.metrics; /** * Represents different types of human emotions. * This enum can be used to categorize and process various emotional states. * * <p>Possible use cases: * <ul> * <li>Tracking user emotional states over time in mental health or journaling apps.</li> * <li>Generating insig...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/EncryptedMetric.java
package app.safety24.core.metrics; /** * Represents a metric with an encrypted value. * This class extends {@link MetricGenericValue} and is used to store metrics in an encrypted format. * * <p>Example use cases: * <ul> * <li>Securely storing sensitive metric data to ensure privacy and compliance with securit...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/EventType.java
package app.safety24.core.metrics; /** * Represents the different types of events that can occur within the system. * Each event type corresponds to a specific status or condition, which can be used to trigger * various system behaviors or notifications. * * <p>Possible use cases: * <ul> * <li>Monitoring and ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/ExerciseMetric.java
package app.safety24.core.metrics; import java.util.List; /** * Represents a metric for tracking exercises performed by the user. * This class extends {@link ListMetric} and stores a list of exercises as strings. * * <p>Example use cases: * <ul> * <li>Tracking the types of exercises performed during a workout...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/FallDetectMetric.java
package app.safety24.core.metrics; /** * Represents a metric for detecting falls and free-fall events. * This class tracks whether a free-fall or fall has been detected, along with the maximum acceleration recorded. * * <p>Example use cases: * <ul> * <li>Detecting sudden drops or impacts during activities.</li...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/FloatMinMaxMetric.java
package app.safety24.core.metrics; /** * Represents a metric that tracks a floating-point value along with its minimum and maximum bounds. * This class is useful for metrics where a range of values (min, max) is significant in addition to the current value. * * <p>Example use cases: * <ul> * <li>Tracking envir...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/HeartRateMetric.java
package app.safety24.core.metrics; /** * Represents a metric for tracking heart rate data. * This class extends {@link IntegerMinMaxMetric} and stores the minimum, maximum, and current heart rate values. * * <p>Example use cases: * <ul> * <li>Tracking heart rate during exercise or daily activities.</li> * <...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/HrvQualityLevel.java
package app.safety24.core.metrics; /** * Represents the quality level of Heart Rate Variability (HRV) analysis. * This is typically derived from RMSSD, SDNN, or similar HRV metrics. */ public enum HrvQualityLevel { /** * HRV is excellent, indicating strong autonomic nervous system balance and low stress. ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/HrvRecoveryIndicatorMetric.java
package app.safety24.core.metrics; /** * Represents a metric indicating the recovery state based on Heart Rate Variability (HRV). * This metric reflects how well the autonomic nervous system is recovering from stress or physical exertion. */ public class HrvRecoveryIndicatorMetric extends MetricGenericValue { ...
0
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core
java-sources/app/safety24/safety24-core/1.0.9/app/safety24/core/metrics/HrvTotalVariabilityMetric.java
package app.safety24.core.metrics; /** * Represents a metric indicating the total heart rate variability (HRV) quality level. * This metric provides a qualitative assessment (e.g., Excellent, Good, Poor) based on HRV data. */ public class HrvTotalVariabilityMetric extends MetricGenericValue { /** * The HR...