Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class WorkingHours

java.lang.Object
    ↳ com.yandex.mapkit.search.WorkingHours

class WorkingHours implements Serializable

Open hours for an organization.

Summary

Constructors

Signature and Description

WorkingHours()
Use constructor with parameters in your code.

WorkingHours(@NonNull java.lang.String text,
             @NonNull java.util.List<Availability> availabilities,
             @Nullable State state)

Methods

Type and modifiers

Method and Description

synchronized java.lang.String

getText()
Human-readable localized open hours description.

synchronized java.util.List<Availability>

getAvailabilities()
Structured open hours information.

synchronized State

getState()
Current company working status

Optional field, can be null.

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

WorkingHours

WorkingHours()

Use constructor with parameters in your code.

This one is for serialization only!


WorkingHours

WorkingHours(@NonNull java.lang.String text,
             @NonNull java.util.List<Availability> availabilities,
             @Nullable State state)


Methods

getText

@NonNull
java.lang.String getText()

Human-readable localized open hours description.


getAvailabilities

@NonNull
java.util.List<Availability> getAvailabilities()

Structured open hours information.


getState

@Nullable
State getState()

Current company working status

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()


Следующая