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, Database, DatabaseConfig, DocumentIndexSerializer, DocumentNode, DocumentProvider, FBObject, FaceBookAccess, GameCamera, GameInput, Model, 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, GpuCapabilities, GraphicsDevice, IndexBuffer, Light, Material, Matrix4, Mesh, Primitives, Quaternion, RenderState, Texture, VertexAttribute, VertexBuffer, VertexFormat, 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, Socket, SocketConnection, Storage, URL, URL.URLConnection, Util, WebServiceProxyCall, WebServiceProxyCall.WSDefinition, WebSocket, BonjourBrowser, BonjourPlatform, BonjourPublisher, BonjourService, GraphQL, GraphQLClients, GraphQLError, GraphQLResponse, GraphQLSubscription, GrpcClients, GrpcResponse, GrpcWeb, ProtoCodecs, ProtoReader, ProtoWriter, Adler32, CRC32, Deflate, GZIPHeader, JZlib, ZStream, OidcClient, OidcConfiguration, OidcConfiguration.Builder, OidcTokens, PkceChallenge, SystemBrowser, TokenStore.DefaultStorageTokenStore, 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, 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, MediaManager, MediaMetaData, MediaRecorderBuilder, RecognitionCallback.Adapter, RecognitionOptions, RemoteControlListener, SpeechRecognizer, TextToSpeech, Transcriber, TranscriptionRequest, TranscriptionResult, TranscriptionSegment, TtsOptions, VideoCodec, VideoFrame, VideoIO, VideoReader, VideoWriter, VideoWriterBuilder, WAVWriter, Message, 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, Identifier, 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, Navigation, NavigationEntry, PopReason, AuthenticationOptions, Base32, Biometrics, Cipher, DeviceIntegrity, Hash, Hmac, Jwt, Key, KeyGenerator, KeyPair, Otp, 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, 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, RE, RECharacter, RECompiler, REProgram, REUtil, ReaderCharacterIterator, StreamCharacterIterator, StringCharacterIterator, Vpn, VpnProfile, PacketBuffer, TunnelConfiguration, TunnelSetup, Tunnels, VpnTunnel, HeadTracker, OrientationFilter, VRCameraRig, VRSettings, WearableConnection, WearableMessage, WearableNode, Element, XMLParser, XMLWriter, InputStream, OutputStream, Reader, Writer, Boolean, Character, Class, ClassLoader, Enum, Math, Number, Record, Runtime, StackTraceElement, String, StringBuffer, StringBuilder, System, Thread, ThreadLocal, Throwable, Void, CallSite, LambdaMetafactory, MethodHandle, MethodHandles, MethodHandles.Lookup, MethodType, StringConcatFactory, Reference, Array, Constructor, Method, URI, Charset, StandardCharsets, DateFormatSymbols, Format, Clock, Duration, Instant, LocalDate, LocalDateTime, LocalTime, OffsetDateTime, Period, ZoneId, ZonedDateTime, DateTimeFormatter, AbstractCollection, AbstractMap, AbstractMap.SimpleEntry, AbstractMap.SimpleImmutableEntry, Arrays, BitSet, Calendar, Collections, Date, Dictionary, EventListenerProxy, Locale, Objects, Observable, Random, StringTokenizer, TimeZone, Timer, TimerTask, AtomicBoolean, AtomicReference, Collectors
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() |
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()