Class OrientationSerializerAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable com.google.gson.JsonElement serialize​(Device.DeviceOrientation src, @NotNull java.lang.reflect.Type typeOfSrc, @NotNull com.google.gson.JsonSerializationContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrientationSerializerAdapter

        public OrientationSerializerAdapter​(@NotNull
                                            @NotNull SentryOptions options)
    • Method Detail

      • serialize

        @Nullable
        public @Nullable com.google.gson.JsonElement serialize​(@Nullable
                                                               Device.DeviceOrientation src,
                                                               @NotNull
                                                               @NotNull java.lang.reflect.Type typeOfSrc,
                                                               @NotNull
                                                               @NotNull com.google.gson.JsonSerializationContext context)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<Device.DeviceOrientation>