| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014, The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| Tyler Gunn | ef9f6f9 | 2014-09-12 22:16:17 -0700 | [diff] [blame] | 17 | package android.telecom; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 18 | |
| 19 | import android.net.Uri; |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 20 | import android.os.Bundle; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 21 | import android.os.Parcel; |
| 22 | import android.os.Parcelable; |
| 23 | |
| Tyler Gunn | ef9f6f9 | 2014-09-12 22:16:17 -0700 | [diff] [blame] | 24 | import com.android.internal.telecom.IVideoProvider; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 25 | |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 26 | import java.util.ArrayList; |
| 27 | import java.util.List; |
| 28 | |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 29 | /** |
| Tyler Gunn | ef9f6f9 | 2014-09-12 22:16:17 -0700 | [diff] [blame] | 30 | * Information about a connection that is used between Telecom and the ConnectionService. |
| 31 | * This is used to send initial Connection information to Telecom when the connection is |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 32 | * first created. |
| 33 | * @hide |
| 34 | */ |
| 35 | public final class ParcelableConnection implements Parcelable { |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 36 | private final PhoneAccountHandle mPhoneAccount; |
| 37 | private final int mState; |
| Ihab Awad | 5c9c86e | 2014-11-12 13:41:16 -0800 | [diff] [blame] | 38 | private final int mConnectionCapabilities; |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 39 | private final int mConnectionProperties; |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 40 | private final int mSupportedAudioRoutes; |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 41 | private final Uri mAddress; |
| 42 | private final int mAddressPresentation; |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 43 | private final String mCallerDisplayName; |
| 44 | private final int mCallerDisplayNamePresentation; |
| 45 | private final IVideoProvider mVideoProvider; |
| 46 | private final int mVideoState; |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 47 | private final boolean mRingbackRequested; |
| 48 | private final boolean mIsVoipAudioMode; |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 49 | private final long mConnectTimeMillis; |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 50 | private final StatusHints mStatusHints; |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 51 | private final DisconnectCause mDisconnectCause; |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 52 | private final List<String> mConferenceableConnectionIds; |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 53 | private final Bundle mExtras; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 54 | |
| 55 | /** @hide */ |
| 56 | public ParcelableConnection( |
| 57 | PhoneAccountHandle phoneAccount, |
| 58 | int state, |
| 59 | int capabilities, |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 60 | int properties, |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 61 | int supportedAudioRoutes, |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 62 | Uri address, |
| 63 | int addressPresentation, |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 64 | String callerDisplayName, |
| 65 | int callerDisplayNamePresentation, |
| Ihab Awad | b19a0bc | 2014-08-07 19:46:01 -0700 | [diff] [blame] | 66 | IVideoProvider videoProvider, |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 67 | int videoState, |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 68 | boolean ringbackRequested, |
| 69 | boolean isVoipAudioMode, |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 70 | long connectTimeMillis, |
| Ihab Awad | 6107bab | 2014-08-18 09:23:25 -0700 | [diff] [blame] | 71 | StatusHints statusHints, |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 72 | DisconnectCause disconnectCause, |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 73 | List<String> conferenceableConnectionIds, |
| 74 | Bundle extras) { |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 75 | mPhoneAccount = phoneAccount; |
| 76 | mState = state; |
| Ihab Awad | 5c9c86e | 2014-11-12 13:41:16 -0800 | [diff] [blame] | 77 | mConnectionCapabilities = capabilities; |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 78 | mConnectionProperties = properties; |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 79 | mSupportedAudioRoutes = supportedAudioRoutes; |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 80 | mAddress = address; |
| 81 | mAddressPresentation = addressPresentation; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 82 | mCallerDisplayName = callerDisplayName; |
| 83 | mCallerDisplayNamePresentation = callerDisplayNamePresentation; |
| Ihab Awad | b19a0bc | 2014-08-07 19:46:01 -0700 | [diff] [blame] | 84 | mVideoProvider = videoProvider; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 85 | mVideoState = videoState; |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 86 | mRingbackRequested = ringbackRequested; |
| 87 | mIsVoipAudioMode = isVoipAudioMode; |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 88 | mConnectTimeMillis = connectTimeMillis; |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 89 | mStatusHints = statusHints; |
| Sailesh Nepal | cf7020b | 2014-08-20 10:07:19 -0700 | [diff] [blame] | 90 | mDisconnectCause = disconnectCause; |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 91 | mConferenceableConnectionIds = conferenceableConnectionIds; |
| 92 | mExtras = extras; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 93 | } |
| 94 | |
| 95 | public PhoneAccountHandle getPhoneAccount() { |
| 96 | return mPhoneAccount; |
| 97 | } |
| 98 | |
| 99 | public int getState() { |
| 100 | return mState; |
| 101 | } |
| 102 | |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 103 | /** |
| 104 | * Returns the current connection capabilities bit-mask. Connection capabilities are defined as |
| 105 | * {@code CAPABILITY_*} constants in {@link Connection}. |
| 106 | * |
| 107 | * @return Bit-mask containing capabilities of the connection. |
| 108 | */ |
| Ihab Awad | 5c9c86e | 2014-11-12 13:41:16 -0800 | [diff] [blame] | 109 | public int getConnectionCapabilities() { |
| 110 | return mConnectionCapabilities; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 111 | } |
| 112 | |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 113 | /** |
| 114 | * Returns the current connection properties bit-mask. Connection properties are defined as |
| 115 | * {@code PROPERTY_*} constants in {@link Connection}. |
| 116 | * |
| 117 | * @return Bit-mask containing properties of the connection. |
| 118 | */ |
| 119 | public int getConnectionProperties() { |
| 120 | return mConnectionProperties; |
| 121 | } |
| 122 | |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 123 | public int getSupportedAudioRoutes() { |
| 124 | return mSupportedAudioRoutes; |
| 125 | } |
| 126 | |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 127 | public Uri getHandle() { |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 128 | return mAddress; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 129 | } |
| 130 | |
| 131 | public int getHandlePresentation() { |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 132 | return mAddressPresentation; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 133 | } |
| 134 | |
| 135 | public String getCallerDisplayName() { |
| 136 | return mCallerDisplayName; |
| 137 | } |
| 138 | |
| 139 | public int getCallerDisplayNamePresentation() { |
| 140 | return mCallerDisplayNamePresentation; |
| 141 | } |
| 142 | |
| Ihab Awad | b19a0bc | 2014-08-07 19:46:01 -0700 | [diff] [blame] | 143 | public IVideoProvider getVideoProvider() { |
| 144 | return mVideoProvider; |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 145 | } |
| 146 | |
| 147 | public int getVideoState() { |
| 148 | return mVideoState; |
| 149 | } |
| 150 | |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 151 | public boolean isRingbackRequested() { |
| 152 | return mRingbackRequested; |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 153 | } |
| 154 | |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 155 | public boolean getIsVoipAudioMode() { |
| 156 | return mIsVoipAudioMode; |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 157 | } |
| 158 | |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 159 | public long getConnectTimeMillis() { |
| 160 | return mConnectTimeMillis; |
| 161 | } |
| 162 | |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 163 | public final StatusHints getStatusHints() { |
| 164 | return mStatusHints; |
| 165 | } |
| 166 | |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 167 | public final DisconnectCause getDisconnectCause() { |
| Sailesh Nepal | cf7020b | 2014-08-20 10:07:19 -0700 | [diff] [blame] | 168 | return mDisconnectCause; |
| Ihab Awad | 6107bab | 2014-08-18 09:23:25 -0700 | [diff] [blame] | 169 | } |
| 170 | |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 171 | public final List<String> getConferenceableConnectionIds() { |
| 172 | return mConferenceableConnectionIds; |
| 173 | } |
| 174 | |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 175 | public final Bundle getExtras() { |
| 176 | return mExtras; |
| 177 | } |
| 178 | |
| Santos Cordon | 7c7bc7f | 2014-07-28 18:15:48 -0700 | [diff] [blame] | 179 | @Override |
| 180 | public String toString() { |
| 181 | return new StringBuilder() |
| 182 | .append("ParcelableConnection [act:") |
| 183 | .append(mPhoneAccount) |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 184 | .append("], state:") |
| Santos Cordon | 7c7bc7f | 2014-07-28 18:15:48 -0700 | [diff] [blame] | 185 | .append(mState) |
| 186 | .append(", capabilities:") |
| Ihab Awad | 5c9c86e | 2014-11-12 13:41:16 -0800 | [diff] [blame] | 187 | .append(Connection.capabilitiesToString(mConnectionCapabilities)) |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 188 | .append(", properties:") |
| 189 | .append(Connection.propertiesToString(mConnectionProperties)) |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 190 | .append(", extras:") |
| 191 | .append(mExtras) |
| Santos Cordon | 7c7bc7f | 2014-07-28 18:15:48 -0700 | [diff] [blame] | 192 | .toString(); |
| 193 | } |
| 194 | |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 195 | public static final Parcelable.Creator<ParcelableConnection> CREATOR = |
| 196 | new Parcelable.Creator<ParcelableConnection> () { |
| 197 | @Override |
| 198 | public ParcelableConnection createFromParcel(Parcel source) { |
| 199 | ClassLoader classLoader = ParcelableConnection.class.getClassLoader(); |
| 200 | |
| 201 | PhoneAccountHandle phoneAccount = source.readParcelable(classLoader); |
| 202 | int state = source.readInt(); |
| 203 | int capabilities = source.readInt(); |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 204 | Uri address = source.readParcelable(classLoader); |
| 205 | int addressPresentation = source.readInt(); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 206 | String callerDisplayName = source.readString(); |
| 207 | int callerDisplayNamePresentation = source.readInt(); |
| Ihab Awad | b19a0bc | 2014-08-07 19:46:01 -0700 | [diff] [blame] | 208 | IVideoProvider videoCallProvider = |
| 209 | IVideoProvider.Stub.asInterface(source.readStrongBinder()); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 210 | int videoState = source.readInt(); |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 211 | boolean ringbackRequested = source.readByte() == 1; |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 212 | boolean audioModeIsVoip = source.readByte() == 1; |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 213 | long connectTimeMillis = source.readLong(); |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 214 | StatusHints statusHints = source.readParcelable(classLoader); |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 215 | DisconnectCause disconnectCause = source.readParcelable(classLoader); |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 216 | List<String> conferenceableConnectionIds = new ArrayList<>(); |
| 217 | source.readStringList(conferenceableConnectionIds); |
| Jeff Sharkey | f0ec2e0 | 2016-03-21 12:37:54 -0600 | [diff] [blame] | 218 | Bundle extras = Bundle.setDefusable(source.readBundle(classLoader), true); |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 219 | int properties = source.readInt(); |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 220 | int supportedAudioRoutes = source.readInt(); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 221 | |
| 222 | return new ParcelableConnection( |
| 223 | phoneAccount, |
| 224 | state, |
| 225 | capabilities, |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 226 | properties, |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 227 | supportedAudioRoutes, |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 228 | address, |
| 229 | addressPresentation, |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 230 | callerDisplayName, |
| 231 | callerDisplayNamePresentation, |
| Andrew Lee | 50aca23 | 2014-07-22 16:41:54 -0700 | [diff] [blame] | 232 | videoCallProvider, |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 233 | videoState, |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 234 | ringbackRequested, |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 235 | audioModeIsVoip, |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 236 | connectTimeMillis, |
| Ihab Awad | 6107bab | 2014-08-18 09:23:25 -0700 | [diff] [blame] | 237 | statusHints, |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 238 | disconnectCause, |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 239 | conferenceableConnectionIds, |
| 240 | extras); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 241 | } |
| 242 | |
| 243 | @Override |
| 244 | public ParcelableConnection[] newArray(int size) { |
| 245 | return new ParcelableConnection[size]; |
| 246 | } |
| 247 | }; |
| 248 | |
| 249 | /** {@inheritDoc} */ |
| 250 | @Override |
| 251 | public int describeContents() { |
| 252 | return 0; |
| 253 | } |
| 254 | |
| 255 | /** Writes ParcelableConnection object into a Parcel. */ |
| 256 | @Override |
| 257 | public void writeToParcel(Parcel destination, int flags) { |
| 258 | destination.writeParcelable(mPhoneAccount, 0); |
| 259 | destination.writeInt(mState); |
| Ihab Awad | 5c9c86e | 2014-11-12 13:41:16 -0800 | [diff] [blame] | 260 | destination.writeInt(mConnectionCapabilities); |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 261 | destination.writeParcelable(mAddress, 0); |
| 262 | destination.writeInt(mAddressPresentation); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 263 | destination.writeString(mCallerDisplayName); |
| 264 | destination.writeInt(mCallerDisplayNamePresentation); |
| 265 | destination.writeStrongBinder( |
| Ihab Awad | b19a0bc | 2014-08-07 19:46:01 -0700 | [diff] [blame] | 266 | mVideoProvider != null ? mVideoProvider.asBinder() : null); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 267 | destination.writeInt(mVideoState); |
| Andrew Lee | 100e293 | 2014-09-08 15:34:24 -0700 | [diff] [blame] | 268 | destination.writeByte((byte) (mRingbackRequested ? 1 : 0)); |
| 269 | destination.writeByte((byte) (mIsVoipAudioMode ? 1 : 0)); |
| Roshan Pius | e927ec0 | 2015-07-15 15:47:21 -0700 | [diff] [blame] | 270 | destination.writeLong(mConnectTimeMillis); |
| Sailesh Nepal | 8b9d3ca | 2014-08-14 17:39:34 -0700 | [diff] [blame] | 271 | destination.writeParcelable(mStatusHints, 0); |
| Andrew Lee | 7f3d41f | 2014-09-11 17:33:16 -0700 | [diff] [blame] | 272 | destination.writeParcelable(mDisconnectCause, 0); |
| Ihab Awad | b8e85c7 | 2014-08-23 20:34:57 -0700 | [diff] [blame] | 273 | destination.writeStringList(mConferenceableConnectionIds); |
| Santos Cordon | 6b7f955 | 2015-05-27 17:21:45 -0700 | [diff] [blame] | 274 | destination.writeBundle(mExtras); |
| Tyler Gunn | 720c664 | 2016-03-22 09:02:47 -0700 | [diff] [blame] | 275 | destination.writeInt(mConnectionProperties); |
| Christine Hallstrom | 2830ce9 | 2016-11-30 16:06:42 -0800 | [diff] [blame^] | 276 | destination.writeInt(mSupportedAudioRoutes); |
| Santos Cordon | e8dc4be | 2014-07-21 01:28:28 -0700 | [diff] [blame] | 277 | } |
| 278 | } |