Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public class Object
Known subtypesAdConfig, AdConsent, AdError, AdListener, AdManager, AdRequest, AppOpenAd, InterstitialAd, NativeAd, NativeAdLoader, RewardItem, RewardedAd, RewardedInterstitialAd, ServerSideVerificationOptions, ChatMessage, ChatRequest, ChatRequest.Builder, ChatResponse, ConversationStore, Embedding, EmbeddingRequest, EmbeddingRequest.Builder, EmbeddingResponse, GenerateImageRequest, ImageGenerator, LlmChatBinding, LlmClient, MessagePart, PromptTemplate, RetryPolicy, StreamingListener.Adapter, Tokenizer, Tool, ToolCall, ToolChoice, Usage, InferenceOptions, InferenceSession, ModelCache, ModelSource, Tensor, TensorInfo, LanguageBackends, LanguageCandidate, LanguageIdentifier, LanguageIdentifier.Session, LanguageOptions, SmartReply, SmartReply.Session, SmartReplyMessage, Translator, Translator.Session, Barcode, BarcodeFormat, BarcodeScanner, CodeScanner, CodeScannerOptions, DocumentScanResult, DocumentScanner, Face, FaceDetector, FaceLandmarks, ImageLabel, ImageLabeler, Pose, Pose.Landmark, PoseDetector, PoseLandmarks, SegmentationMask, SelfieSegmenter, TextRecognitionResult, TextRecognitionResult.TextBlock, TextRecognizer, TextScript, VisionBackends, VisionImage, VisionMetadata, VisionOptions, VisionPipeline, VisionPoint, VisionRect, AbstractAnalyticsProvider, Analytics, AnalyticsConsent, AnalyticsConsent.Builder, AnalyticsContext, AnalyticsCrashReport, AnalyticsCrashReport.Builder, AnalyticsEvent, AnalyticsEvent.Builder, AnalyticsService, Invite, InviteAttribution, InviteRequest, InviteRequest.Builder, Invites, Async, AppReview, AR, ARAnchor, ARAnchorEvent, ARCapabilities, ARHitResult, ARLightEstimate, ARModel, ARNode, ARPlane, ARPlaneEvent, ARPose, ARReferenceImage, ARSession, ARSessionOptions, BackgroundTask, BackgroundWork, ForegroundService, WorkRequest, WorkRequest.Builder, Binders, Bluetooth, BluetoothDevice, BluetoothUuid, BluetoothClassic, ClassicScanResult, RfcommConnection, RfcommServer, GattCharacteristic, GattDescriptor, GattService, AdvertisementData, BluetoothLE, ConnectionEvent, ConnectionOptions, L2capChannel, L2capServer, ScanFilter, ScanResult, ScanSettings, AdvertiseData, AdvertiseSettings, BleAdvertisement, BleCentral, GattLocalCharacteristic, GattLocalDescriptor, GattLocalService, GattReadRequest, GattServer, GattServerAdapter, GattWriteRequest, CalDavAuthentication, CalendarAlarm, CalendarAttachment, CalendarAttendee, CalendarAuthToken, CalendarCapabilities, CalendarChange, CalendarConference, CalendarConflict, CalendarDateTime, CalendarEvent, CalendarHttpRequest, CalendarHttpResponse, CalendarInfo, CalendarManager, CalendarModelCodec, CalendarPage, CalendarQuery, CalendarRecurrenceRule, CalendarSource, CalendarSyncEngine, CalendarSyncResult, CalendarTask, DefaultCalendarHttpTransport, FreeBusyInterval, ICalendarCodec, MemoryCalendarCache, OidcCalendarTokenProvider, StorageCalendarCache, CallHandle, CallId, CallDirectory, DirectoryEntry, DirectoryStatus, CallAction, CallActionAdapter, CallAudioSession, CallConfiguration, CallSession, Calls, PushedCall, VoipPush, Camera, CameraFrame, CameraInfo, CameraSession, CameraSessionOptions, CapturedPhoto, PhotoCaptureOptions, VideoRecording, Capture, VideoCaptureConstraints, Car, CarAction, CarActionStrip, CarApplication, CarContext, CarGridItem, CarRow, CarScreen, CarSection, CarTemplate, ChartUtil, Canvas, GradientDrawable, Paint, Paint.Align, Paint.Cap, Paint.Join, PathMeasure, AreaSeries, CategorySeries, MultipleCategorySeries, Point, SeriesSelection, XYMultipleSeriesDataset, XYSeries, BasicStroke, DefaultRenderer, SimpleSeriesRenderer, XYSeriesRenderer.FillOutsideLine, SeriesTransition, ColorUtil, MathHelper, NumberFormat, AbstractChart, ClickableArea, CombinedXYChart.XYCombinedChartDef, PieMapper, PieSegment, CodeScanner, Objects, FileTreeModel, InfiniteScrollAdapter, MasterDetail, PhoneNumberField.Country, PhoneVerification.Response, SplitPane.Settings, ToastBar, ToastBar.Status, Address, Contact, ContactPicker, ContactsManager, AppState, Continuity, RestStateRelay, StateCodec, SyncedStore, CrashProtection, PiiScrubber, UInt256, BitcoinAddress, BitcoinKey, BitcoinNetwork, BitcoinTransaction, BitcoinTransaction.Input, BitcoinTransaction.Output, Der, Psbt, Psbt.Derivation, Script, Script.Builder, Taproot, Wif, Base58, Base58Check, Base64, Bech32, Bech32.Decoded, Bech32.SegwitAddress, Hex, Json, Rlp, Abi, Erc20, Erc20.Transfer, EvmAddress, EvmTransaction, EvmTransaction.AccessEntry, PersonalSign, TypedData, Bip32, DerivationPath, Mnemonic, Slip10, CachingPriceFeed, CoinGeckoFeed, JsonPriceFeed, Quote, EsploraClient, EsploraClient.Utxo, JsonRpc, NetworkTransport, AccountMeta, ComputeBudget, Instruction, SolanaAddress, SolanaAddress.ProgramAddress, SolanaMessage, SolanaTransaction, SystemProgram, TokenProgram, SeedSigner, VaultSigner, Wallet, Database, DatabaseConfig, Migrations, DocumentIndexSerializer, DocumentNode, DocumentProvider, FBObject, FaceBookAccess, AnimatedModel, GameCamera, GameInput, Model, ParticleEmitter, Scene, SoundEffect, SoundPool, Sprite, SpriteRenderer, SpriteSheet, TouchControls, VirtualButton, VirtualJoystick, AssetCatalog, AssetDef, AssetPack, GameElement, GameLevel, GameWorld, IsoProjection, Layer, LevelLight, Material, MaterialRegistry, Region, StreamingTerrain, StreamingTerrain.MemoryChunkProvider, TerrainChunk, TerrainFeature, TerrainGrid, TileLayer, PhysicsBody, PhysicsContact, PhysicsJoint, PhysicsWorld, ContactFilter, ContactImpulse, DebugDraw, AABB, Collision, Collision.ClipVertex, ContactID, Distance, Distance.DistanceProxy, Distance.SimplexCache, DistanceInput, DistanceOutput, Manifold, ManifoldPoint, RayCastInput, RayCastOutput, TimeOfImpact, TimeOfImpact.TOIInput, TimeOfImpact.TOIOutput, WorldManifold, BroadPhase, DynamicTree, DynamicTree.TreeNodeStack, DynamicTreeNode, Pair, MassData, Shape, Color3f, Mat22, Mat33, MathUtils, OBBViewportTransform, OBBViewportTransform.OBB, RaycastResult, Rot, Settings, Sweep, Transform, Vec2, Vec3, Body, BodyDef, ContactManager, Filter, Fixture, FixtureDef, FixtureProxy, Island, Profile, SolverData, TimeStep, World, Contact, ContactEdge, ContactPositionConstraint, ContactRegister, ContactSolver, ContactSolver.ContactSolverDef, ContactVelocityConstraint, ContactVelocityConstraint.VelocityConstraintPoint, Position, Velocity, Jacobian, Joint, JointDef, JointEdge, FloatArray, IntArray, Vec2Array, CircleStack, DefaultWorldPool, MutableStack, OrderedStack, DynamicIntStack, Camera, GltfLoader, GltfLoader.GltfImageModel, GltfLoader.GltfModel, GltfScene, GltfScene.Animation, GltfScene.Channel, GltfScene.MaterialInfo, GltfScene.Node, GltfScene.Primitive, GltfScene.Skin, GpuCapabilities, GraphicsDevice, IndexBuffer, Light, Material, Matrix4, Mesh, Primitives, Quaternion, RenderState, Texture, VertexAttribute, VertexBuffer, VertexFormat, CanBus, CanFrame, GpioPin, Hardware, I2cDevice, PwmChannel, SerialPort, SpiDevice, Watchdog, AggregateQuery, AggregateResult, Health, HealthAccess, HealthAnchor, HealthChangeBatch, HealthDataType, HealthDeleteRequest, HealthInterval, HealthQuantity, HealthSample, HealthSource, HealthStore, HealthSubscription, HealthTimeRange, HealthUnit, HealthWriteResult, SamplePage, SampleQuery, SleepStageInterval, SubscriptionRequest, Nutrient, BloodPressureMeasurement, BodySensorLocation, CscMeasurement, CyclingPowerMeasurement, GlucoseMeasurement, GlucoseRecordFilter, HealthSensor, HealthSensorProfile, HealthSensors, HeartRateMeasurement, RscMeasurement, SensorScan, SensorScanSettings, SensorSession, SensorSessionOptions, TemperatureMeasurement, WeightMeasurement, WorkoutConfiguration, WorkoutEvent, WorkoutManager, WorkoutSession, Accessory, AccessoryService, HomeRoom, HomeStructure, HomeStructureEvent, HomeZone, Scene, SceneAction, SmartHome, SubscriptionRequest, Trait, TraitChangeBatch, TraitConstraint, TraitReadRequest, TraitReading, TraitSubscription, TraitValue, TraitWrite, TraitWriteResult, Commissioner, CommissioningRequest, CommissioningResult, SetupPayload, AppEntity, DynamicIntent, IntentContext, IntentDates, IntentDeclaration, IntentParameterInfo, IntentResult, IntentSerializer, Intents, AccessToken, CSVParser, CacheMap, ConnectionRequest, ConnectionRequest.SSLCertificate, Cookie, Data.ByteData, Data.FileData, Data.StorageData, Data.StringData, File, FileSystemStorage, JSONParser, JSONParser.RawJson, JSONWriter, JSONWriter.ArrayBuilder, JSONWriter.ObjectBuilder, Log, NetworkManager, NetworkTypePlatform, Oauth2, Preferences, Process, ProcessBuilder, Socket, SocketConnection, Storage, URL, URL.URLConnection, Util, WebServiceProxyCall, WebServiceProxyCall.WSDefinition, WebSocket, BonjourBrowser, BonjourPlatform, BonjourPublisher, BonjourService, FileDialogFeatures, FileDialogOption, FileDialogRequest, FileDialogResult, FileTypeFilter, GraphQL, GraphQLClients, GraphQLError, GraphQLResponse, GraphQLSubscription, GrpcClients, GrpcResponse, GrpcWeb, ProtoCodecs, ProtoReader, ProtoWriter, Adler32, CRC32, Deflate, GZIPHeader, JZlib, ZStream, MqttClient, MqttCodec, MqttOptions, MqttPacket, MqttTopic, OidcClient, OidcConfiguration, OidcConfiguration.Builder, OidcDeviceAuthorization, OidcRequestAuthorizer, OidcTokens, PkceChallenge, SecureStorageTokenStore, SystemBrowser, TokenStore.DefaultStorageTokenStore, Outbox, OutboxMessage, RequestBuilder, Response, Rest, RestClients, CachedData, Octal, TarConstants, TarEntry, TarHeader, TarUtils, Usb, UsbDevice, UsbPlatform, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialCreationOptions.Builder, PublicKeyCredentialRequestOptions, PublicKeyCredentialRequestOptions.Builder, WebAuthnClient, WiFi, WiFiDirect, WiFiDirectPeer, WiFiNetwork, WifiDirectPlatform, WifiPlatform, JSObject, JavascriptContext, DateFormatPatterns, DateFormatSymbols, Format, L10NManager, Geofence, GeofenceManager, GeofenceManager.Listener, Location, LocationManager, LocationRequest, JsonValues, Mappers, BoundingBox, CameraPosition, Coord, LatLng, MapBounds, MapObject, MarkerOptions, PolylineCodec, Projection, Tile, WebMapProvider, AbstractLayer, MapProvider, OsrmRouteService, Route, RouteLeg, RouteRequest, RouteStep, Routing, MapProviderRegistry, BundledTileSource, DemoTileSource, HttpTileSource, MapStyle, MvtDecoder, StyleLayer, VectorFeature, VectorLayer, VectorMapEngine, VectorTile, WebMercator, MCP, MCPClientDescriptor, MCPClientRegistrar, MCPClientRegistrar.MCPClient, MCPLoopbackSocketTransport, MCPServer, AbstractMedia, AudioBuffer, AudioEffects, AudioMixer, DrmConfig, MediaManager, MediaMetaData, MediaRecorderBuilder, RecognitionCallback.Adapter, RecognitionOptions, RemoteControlListener, SpeechRecognizer, StreamRequest, TextToSpeech, Transcriber, TranscriptionRequest, TranscriptionResult, TranscriptionSegment, TtsOptions, VideoCodec, VideoFrame, VideoIO, VideoReader, VideoWriter, VideoWriterBuilder, WAVWriter, Message, MigrateResult, MigrationInfo, MigrationSet, MigrationSet.Builder, Migrator, AssociationRequest, AssociationRequest.Builder, CompanionDevice, CompanionDevices, DeviceFilter, Ranging, RangingAdapter, RangingCapabilities, RangingSession, RangingToken, RangingUpdate, Endpoint, IncomingConnection, NearbyTransport, Payload, PayloadTransferUpdate, TransportAdapter, ApduResponse, HostCardEmulationService, NdefMessage, NdefRecord, Nfc, NfcReadOptions, Tag, TagTechnology, LocalNotification, LocalNotification.Action, LocalNotification.MessagingStyle, LocalNotification.MessagingStyle.Message, NotificationChannelBuilder, NotificationPermissionRequest, NotificationPermissionResult, EntityManager, PageRequest, Repositories, Identifier, SchemaReport, SchemaReport.Issue, ApplePromotionalOffer, CommerceManager, Product, Purchase, Receipt, WalletExtension, WalletPassEntry, PluginSupport, PrintResult, Printer, Result, InstantUI, MapAdapter, PreferencesObject, PropertyBase, PropertyIndex, SQLMap, SQLMap.SelectBuilder, UiBinding, UiBinding.Binding, UiBinding.ComponentAdapter, UiBinding.ObjectConverter, Push, PushAction, PushActionCategory, PushBuilder, PushClient, PushClient.Builder, PushContent, PushError, PushMessage, PushMessage.Builder, PushSubscription, QrCode, QrCodeImage, Navigation, NavigationEntry, PopReason, AuthenticationOptions, Base32, Biometrics, CertificateRequest, Cipher, CryptoBatch, CryptoEngine, DeviceIntegrity, Ed25519, Hash, Hkdf, Hmac, Jwt, Key, KeyAgreement, KeyGenerator, KeyPair, Otp, Pbkdf2, Schnorr, Schnorr.KeyPair, Secp256k1, Secp256k1.EcdsaSignature, Secrets, SecureRandom, SecureStorage, Signature, Hardening, AppShield, HostPolicy, PinSet, ShieldConfig, ShieldSignal, ShieldSignals, ShieldStatus, ShieldToken, ShieldEngineRegistry, AssociatedData, KdfProfile, KeyHandle, ProtectionReport, ProtectionReport.Builder, SecureEnvelope, Vault, VaultCapabilities, VaultOptions, DeviceProtection, GestureEvent, MotionEvent, MotionSensor, MotionSensorManager, ShareResult, SharedContent, SharedContent.Builder, SharedContent.Item, AppleSignInResult, FirebaseAuth, FirebaseAuth.FirebaseUser, Login, LoginCallback, LiveActivity, LiveActivityDescriptor, SurfaceActionEvent, SurfaceColor, SurfaceNode, SurfaceRasterizer, SurfaceRasterizer.ActionRect, SurfaceRasterizer.Result, SurfaceSerializer, Surfaces, WidgetKind, WidgetTimeline, WidgetTimeline.Entry, DefaultCrashReporter, Lifecycle, NativeLookup, SimulatorHookExecutor, Telemetry, TelemetryConfig, TelemetrySpan, AbstractTest, DeviceRunner, TestReporting, TestUtils, AnimationManager, BrowserComponent.JSExpression, BrowserComponent.JSProxy, BrowserComponent.JSRef, BrowserWindow, ButtonGroup, CN1Constants, CSSColor, ClipboardContent, CodeCompletion, CodeDiagnostic, Command, CommonProgressAnimations, Component, ComponentSelector, ContextMenu, Desktop, DevicePosture, Form.TabIterator, Gradient, Graphics, Image, ImageFactory, Monitor, MultipleGradientPaint, NativeDragAndDrop, NativeDragOperation, Stroke, TextInputConfig, TextInputGeometry, TextInputState, TextSelection, TextSelection.Char, TextSelection.Span, TextSelection.Spans, TooltipManager, Transform, UIFragment, UIFragment.DefaultComponentFactory, AccessibilityAction, AccessibilityAssertions, AccessibilityCollectionInfo, AccessibilityCollectionItemInfo, AccessibilityInspector, AccessibilityIssue, AccessibilityManager, AccessibilityNode, AccessibilityNodeSnapshot, AccessibilityRange, AccessibilityTreeSnapshot, AnimationObject, AnimationTime, ComponentAnimation, MorphTransition.MorphElement, Motion, Transition, CSSThemeCompiler, EditorDocument, HtmlImporter, HtmlImporter.Result, HtmlSerializer, InlineStyles, LanguageDef, PureEditor, RichBlocks, RichBlocks.BlockAttr, RichRunPainter, RichTextImporter, RichTextSerializer, SyntaxHighlightResult, SyntaxToken, TextStyle, ThemePalette, Tokenizer, UndoManager, ActionEvent, PointerEvent, AffineTransform, Dimension, Dimension2D, GeneralPath, Point, Point2D, Rectangle, Rectangle2D, DefaultDocumentRequestHandler, DefaultHTMLCallback, DocumentInfo, HTMLUtils, GridBagConstraints, GroupLayout.Group, Insets, LayeredLayout.LayeredLayoutConstraint, LayeredLayout.LayeredLayoutConstraint.Inset, Layout, LayoutStyle, AC, BoundSize, CC, ConstraintParser, DimConstraint, Grid, LC, LayoutCallback, LayoutUtil, LinkHandler, PlatformDefaults, UnitConverter, UnitValue, DefaultListModel, FilterProxyListModel, GenericListCellRenderer, BackgroundPainter, PainterChain, Border, CSSFilterParser, CSSFilterParser.FilterChain, ColorMatrixBlend, GlassLensBlend, GlassRecipe, LookAndFeel, Style, StyleParser, StyleParser.BorderInfo, StyleParser.BoxInfo, StyleParser.FontInfo, StyleParser.ImageInfo, StyleParser.ScalarValue, StyleParser.StyleInfo, UIManager, VibrancyMatrix, Bounds, Camera, Node, Point3D, TextPainter, Picker.LightweightPopupButtonPlacement, AbstractTableModel, TableLayout.Constraint, Effects, EventDispatcher, GlassTutorial, ImageIO, Resources, SwipeBackSupport, UIBuilder, UITimer, WeakHashMap, ExistInConstraint, GroupConstraint, LengthConstraint, NotConstraint, NumericConstraint, RegexConstraint, Validator, Base64, BigDecimal, BigInteger, CStringBuilder, CallbackAdapter, CallbackDispatcher, CaseInsensitiveOrder, DateUtil, EasyThread, MathUtil, Simd, StringUtil, Wrapper, Promise, CharacterArrayCharacterIterator, Matcher, Pattern, RE, RECharacter, RECompiler, REProgram, REUtil, ReaderCharacterIterator, StreamCharacterIterator, StringCharacterIterator, StringRegex, Vpn, VpnProfile, PacketBuffer, TunnelConfiguration, TunnelSetup, Tunnels, VpnTunnel, HeadTracker, OrientationFilter, VRCameraRig, VRSettings, WearableConnection, WearableMessage, WearableNode, IceCandidate, IceServer, LocalMedia, MediaTrack, PeerConnection, PeerConnectionConfig, SessionDescription, WebRtc, Element, XMLParser, XMLWriter, InputStream, OutputStream, Reader, Writer, Boolean, Character, Class, ClassLoader, Enum, Math, Number, Record, Runtime, StackTraceElement, StrictMath, String, StringBuffer, StringBuilder, System, Thread, ThreadLocal, Throwable, Void, CallSite, LambdaMetafactory, MethodHandle, MethodHandles, MethodHandles.Lookup, MethodType, StringConcatFactory, Reference, Array, Constructor, Method, URI, URLDecoder, URLEncoder, Charset, StandardCharsets, MessageDigest, DateFormatSymbols, DecimalFormatSymbols, FieldPosition, Format, ParsePosition, Clock, Duration, Instant, LocalDate, LocalDateTime, LocalTime, OffsetDateTime, Period, ZoneId, ZonedDateTime, DateTimeFormatter, AbstractCollection, AbstractMap, AbstractMap.SimpleEntry, AbstractMap.SimpleImmutableEntry, Arrays, Base64, Base64.Decoder, Base64.Encoder, BitSet, Calendar, Collections, Date, Dictionary, DoubleSummaryStatistics, EventListenerProxy, EventObject, HexFormat, IntSummaryStatistics, Locale, LongSummaryStatistics, Objects, Observable, Optional, OptionalDouble, OptionalInt, OptionalLong, Random, Spliterators, StringJoiner, StringTokenizer, TimeZone, Timer, TimerTask, UUID, AbstractExecutorService, CompletableFuture, CopyOnWriteArrayList, CountDownLatch, Executors, FutureTask, AtomicBoolean, AtomicReference, Collectors, StreamSupport, Adler32, CRC32, Deflater, Inflater, ZipEntry
Constructors
public Object() |
Methods
public boolean equals(Object obj) | Indicates whether some other object is “equal to” this one. |
public final Class getClass() | Returns the runtime class of an object. |
public int hashCode() | Returns a hash code value for the object. |
public final void notify() | Wakes up a single thread that is waiting on this object’s monitor. |
public final void notifyAll() | Wakes up all threads that are waiting on this object’s monitor. |
public String toString() | Returns a string representation of the object. |
public final void wait()
throws InterruptedException | Causes current thread to wait until another thread invokes the method or the method for this object. |
public final void wait(long timeout)
throws InterruptedException | Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed. |
public final void wait(long timeout, int nanos)
throws InterruptedException | Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed. |
protected Object clone() | |
protected void finalize()
throws Throwable | Compile-time declaration of the runtime finalization hook. |
Constructor details
Object
public Object()Method details
equals
public boolean equals(Object obj)getClass
public final Class getClass()hashCode
public int hashCode()notify
public final void notify()notifyAll
public final void notifyAll()toString
public String toString()wait
public final void wait()
throws InterruptedExceptionThrows
wait
public final void wait(long timeout)
throws InterruptedExceptionThrows
wait
public final void wait(long timeout, int nanos)
throws InterruptedExceptionThrows
clone
protected Object clone()finalize
protected void finalize()
throws Throwable